Skip to content

Commit a181481

Browse files
committed
Update GitHub Actions versions
1 parent 5c86922 commit a181481

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ jobs:
3030

3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v2
33+
uses: actions/checkout@v3
3434
with:
3535
# for Sonar
3636
fetch-depth: 0
3737

3838
- name: Set up JDK ${{ matrix.java }}
39-
uses: actions/setup-java@v2
39+
uses: actions/setup-java@v3
4040
with:
4141
java-version: ${{ matrix.java }}
4242
architecture: ${{ matrix.arch }}
@@ -50,7 +50,7 @@ jobs:
5050
# doesn't work with PRs from forks, see https://jira.sonarsource.com/browse/MMF-1371
5151
- name: Cache Sonar plugins
5252
if: "${{ (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/') || github.event.pull_request.head.repo.full_name == 'dnsjava/dnsjava') && matrix.arch == 'x64' && matrix.os == 'ubuntu-20.04' && matrix.java == '11' }}"
53-
uses: actions/cache@v2
53+
uses: actions/cache@v3
5454
with:
5555
path: ~/.sonar/cache
5656
key: ${{ runner.os }}-sonar
@@ -66,17 +66,17 @@ jobs:
6666

6767
- name: Run codecovc
6868
if: "${{ matrix.arch == 'x64' && matrix.os == 'ubuntu-20.04' && matrix.java == '11' }}"
69-
uses: codecov/codecov-action@v2
69+
uses: codecov/codecov-action@v3
7070

7171
release:
7272
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')
7373
needs: test
7474
runs-on: ubuntu-20.04
7575
steps:
76-
- uses: actions/checkout@v2
76+
- uses: actions/checkout@v3
7777

7878
- name: Set up JDK 8
79-
uses: actions/setup-java@v2
79+
uses: actions/setup-java@v3
8080
with:
8181
java-version: '8'
8282
architecture: 'x64'

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121

2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v3
2525

2626
# Initializes the CodeQL tools for scanning.
2727
- name: Initialize CodeQL
28-
uses: github/codeql-action/init@v1
28+
uses: github/codeql-action/init@v2
2929
with:
3030
languages: java
3131

3232
- name: Set up JDK 11
33-
uses: actions/setup-java@v2
33+
uses: actions/setup-java@v3
3434
with:
3535
java-version: 11
3636
distribution: temurin
@@ -41,4 +41,4 @@ jobs:
4141
run: mvn verify -B -"Dgpg.skip"
4242

4343
- name: Perform CodeQL Analysis
44-
uses: github/codeql-action/analyze@v1
44+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)