Skip to content

Commit f973992

Browse files
committed
chore: Bump GitHub Actions to newer versions
1 parent 23781fc commit f973992

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

.github/workflows/codeql.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040

4141
steps:
4242
- name: Checkout repository
43-
uses: actions/checkout@v2
43+
uses: actions/checkout@v4
4444

4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@v2
47+
uses: github/codeql-action/init@v3
4848
with:
4949
languages: ${{ matrix.language }}
5050
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -55,7 +55,7 @@ jobs:
5555
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5656
# If this step fails, then you should remove it and run the build manually (see below)
5757
#- name: Autobuild
58-
# uses: github/codeql-action/autobuild@v1
58+
# uses: github/codeql-action/autobuild@v3
5959

6060
# ℹ️ Command-line programs to run using the OS shell.
6161
# 📚 https://git.io/JvXDl
@@ -68,13 +68,14 @@ jobs:
6868
# make bootstrap
6969
# make release
7070
- name: Set up JDK 11
71-
uses: actions/setup-java@v1
71+
uses: actions/setup-java@v4
7272
with:
73+
distribution: 'temurin'
7374
java-version: 11
7475

7576
- name: Build with Gradle
7677
run: ./gradlew build
7778

7879
- name: Perform CodeQL Analysis
79-
uses: github/codeql-action/analyze@v2
80+
uses: github/codeql-action/analyze@v3
8081

.github/workflows/create_release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Set up JDK 11
16-
uses: actions/setup-java@v1
16+
uses: actions/setup-java@v4
1717
with:
18+
distribution: 'temurin'
1819
java-version: 11
1920

2021
- name: Checkout code
21-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2223
with:
2324
ref: ${{ github.event.inputs.commit_hash }}
2425

.github/workflows/master_push_and_pull_request_workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
runs-on: ${{ matrix.runs-on }}
1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919
- name: Set up JDK ${{ matrix.java-version }}
20-
uses: actions/setup-java@v2
20+
uses: actions/setup-java@v4
2121
with:
2222
java-version: ${{ matrix.java-version }}
2323
distribution: 'temurin'

.github/workflows/release_pr_workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
fi
3131
3232
- name: Checkout master
33-
uses: actions/checkout@v2
33+
uses: actions/checkout@v4
3434
with:
3535
ref: master
3636
fetch-depth: 0
@@ -47,7 +47,7 @@ jobs:
4747
git commit -m "Bump version to ${{ github.event.inputs.snapshot_version }}"
4848
4949
- name: Create Pull Request
50-
uses: peter-evans/create-pull-request@v3
50+
uses: peter-evans/create-pull-request@v4
5151
with:
5252
branch: release-${{ github.event.inputs.release_version }}
5353
delete-branch: true

0 commit comments

Comments
 (0)