Skip to content

Commit ada616f

Browse files
Update build gha
1 parent 13e75ae commit ada616f

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,22 @@ jobs:
1010
name: Build and analyze
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v6
1414
with:
1515
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
1616
- name: Set up JDK 11
17-
uses: actions/setup-java@v1
17+
uses: actions/setup-java@v5
1818
with:
19+
distribution: 'temurin'
1920
java-version: 11
2021
- name: Cache SonarCloud packages
21-
uses: actions/cache@v1
22+
uses: actions/cache@v5
2223
with:
2324
path: ~/.sonar/cache
2425
key: ${{ runner.os }}-sonar
2526
restore-keys: ${{ runner.os }}-sonar
2627
- name: Cache Maven packages
27-
uses: actions/cache@v1
28+
uses: actions/cache@v5
2829
with:
2930
path: ~/.m2
3031
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

0 commit comments

Comments
 (0)