Skip to content

Commit cd55db8

Browse files
authored
fix(infra): update GitHub Action to current checkout and distribution
1 parent 3d1671a commit cd55db8

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/onpush.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,21 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v3
14+
- name: Checkout repository
15+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
1516
- name: Set up JDK 11
16-
uses: actions/setup-java@v3
17+
uses: actions/setup-java@v5
1718
with:
18-
distribution: 'adopt'
19+
distribution: 'temurin'
1920
java-version: 11
21+
cache: 'maven'
2022
- name: Build & Install checkstyle-config
21-
run: cd checkstyle-config && mvn -B clean install && cd ..
23+
run: mvn -B clean install
24+
working-directory: checkstyle-config
25+
2226
- name: Build root
2327
run: mvn -B clean verify
28+
2429
- name: Test lint
25-
run: cd test && mvn -B -P lint clean verify
30+
run: mvn -B -P lint clean verify
31+
working-directory: test

0 commit comments

Comments
 (0)