Skip to content

Commit 55780ba

Browse files
authored
Merge pull request #63 from spdx/updateactionver
Update action versions in CI
2 parents 4d9e363 + 3749963 commit 55780ba

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
1919
with:
2020
fetch-depth: 0
2121
- name: Set up JDK 17
22-
uses: actions/setup-java@v3
22+
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b #v4.5.0
2323
with:
2424
distribution: 'temurin'
2525
java-version: 17
2626
- name: Cache SonarCloud packages
27-
uses: actions/cache@v1
27+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #v4.2.0
2828
with:
2929
path: ~/.sonar/cache
3030
key: ${{ runner.os }}-sonar
3131
restore-keys: ${{ runner.os }}-sonar
3232
- name: Cache Maven packages
33-
uses: actions/cache@v1
33+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #v4.2.0
3434
with:
3535
path: ~/.m2
3636
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@@ -42,4 +42,6 @@ jobs:
4242
run: |
4343
if [[ $SONAR_TOKEN != "" ]]; then
4444
mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
45+
else
46+
mvn --batch-mode --update-snapshots verify
4547
fi

0 commit comments

Comments
 (0)