-
Notifications
You must be signed in to change notification settings - Fork 11
40 lines (34 loc) · 1.02 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Build
on:
push:
branches: [ develop ]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
timeout-minutes: 15
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
id-token: write
steps:
- uses: actions/checkout@v3
with:
clean: ${{ github.ref == 'refs/heads/develop' }}
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Compile & run tests
run: ./gradlew kotlinUpgradeYarnLock check
- name: Publish unit test report
if: always()
uses: mikepenz/action-junit-report@v4
with:
check_name: Unit test report
require_tests: true
report_paths: "**/build/test-results/**/TEST-*.xml"