Skip to content

Commit 8406d3a

Browse files
authored
update actions in workflow yamls to newest versions (#43)
* change all `@v2` to `@v4` in workflow yamls * change `setup-java` and `checkout` actions to `v5` in workflow yamls
1 parent da47f35 commit 8406d3a

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@v5
1212

1313
- name: Cache Local Maven Repository
1414
uses: actions/cache@v4
@@ -17,7 +17,7 @@ jobs:
1717
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
1818

1919
- name: Setup Java
20-
uses: actions/setup-java@v4
20+
uses: actions/setup-java@v5
2121
with:
2222
java-version: 11
2323
distribution: 'adopt'

.github/workflows/coverity.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
COVERITY: coverity_tool
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v5
1616
with:
1717
fetch-depth: 0
1818

@@ -23,7 +23,7 @@ jobs:
2323
run: printf "RELEASE_VERSION=%q\n" "$(git describe --tags)" >> $GITHUB_ENV
2424

2525
- name: Setup Maven Central
26-
uses: actions/setup-java@v2
26+
uses: actions/setup-java@v5
2727
with:
2828
java-version: 11
2929
distribution: 'adopt'

.github/workflows/upload_release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v5
1414
with:
1515
fetch-depth: 0
1616

1717
- name: Cache Local Maven Repository
18-
uses: actions/cache@v2
18+
uses: actions/cache@v4
1919
with:
2020
path: ~/.m2/repository
2121
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
2222

2323
- name: Setup Signing
24-
uses: actions/setup-java@v2
24+
uses: actions/setup-java@v5
2525
with:
2626
java-version: 11
2727
distribution: 'adopt'
2828
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
2929
gpg-passphrase: MAVEN_GPG_PASSPHRASE
3030

3131
- name: Setup GitHub Packages
32-
uses: actions/setup-java@v2
32+
uses: actions/setup-java@v5
3333
with:
3434
java-version: 11
3535
distribution: 'adopt'
@@ -42,7 +42,7 @@ jobs:
4242
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
4343

4444
- name: Setup Maven Central
45-
uses: actions/setup-java@v2
45+
uses: actions/setup-java@v5
4646
with:
4747
java-version: 11
4848
distribution: 'adopt'

0 commit comments

Comments
 (0)