Skip to content

Commit 4c72a4c

Browse files
authored
Merge pull request #2017 from johnoliver/test-setup-java
Test setup-java verification
2 parents 4f53f59 + 7c7acb7 commit 4c72a4c

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ jobs:
3434
with:
3535
persist-credentials: false
3636

37-
- uses: actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520 # v5.4.0
37+
- uses: actions/setup-java@main
3838
with:
3939
java-version: '21'
4040
distribution: 'temurin'
41-
cache: 'maven'
41+
#cache: 'maven'
42+
verify-signature: true
43+
check-latest: true
4244

4345
- name: Build app
4446
run: ./mvnw --batch-mode clean install ${{ env.ARGS }}

.github/workflows/codeql.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,13 @@ jobs:
4848
# Prefix the list here with "+" to use these queries and those in the config file.
4949
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5050

51-
- uses: actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520 # v5.4.0
51+
- uses: actions/setup-java@main
5252
with:
5353
java-version: '21'
5454
distribution: 'temurin'
55-
cache: 'maven'
55+
#cache: 'maven'
56+
verify-signature: true
57+
check-latest: true
5658

5759
- if: matrix.build-mode == 'manual'
5860
run: |

0 commit comments

Comments
 (0)