Skip to content

Commit 6201eca

Browse files
Update all github actions
1 parent cf99af2 commit 6201eca

File tree

6 files changed

+22
-22
lines changed

6 files changed

+22
-22
lines changed

.github/workflows/build_and_test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
statuses: write
2626

2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@v6
2929
- name: Set up JDK 11
30-
uses: actions/setup-java@v4
30+
uses: actions/setup-java@v5
3131
with:
3232
java-version: 11
3333
distribution: temurin
@@ -66,7 +66,7 @@ jobs:
6666
# into a separate job (or, otherwise, we'd need to upload the content
6767
# of the whole `.git` folder as an artifact).
6868
- name: JUnit Tests (dorny/test-reporter@v1)
69-
uses: dorny/test-reporter@v1
69+
uses: dorny/test-reporter@v2
7070
if: ${{ always() }}
7171
with:
7272
name: JUnit Tests (${{ runner.os }}, dorny/test-reporter@v1)
@@ -80,7 +80,7 @@ jobs:
8080
continue-on-error: true
8181

8282
- name: Upload test results
83-
uses: actions/upload-artifact@v4
83+
uses: actions/upload-artifact@v5
8484
if: ${{ always() }}
8585
with:
8686
name: xml-test-reports-${{ runner.os }}
@@ -90,13 +90,13 @@ jobs:
9090

9191
- name: Upload gradle reports
9292
if: ${{ always() }}
93-
uses: actions/upload-artifact@v4
93+
uses: actions/upload-artifact@v5
9494
with:
9595
name: gradle-reports-${{ matrix.os }}
9696
path: '**/build/reports/'
9797
- name: Code coverage report
9898
if: ${{ runner.os == 'Linux' }}
99-
uses: codecov/codecov-action@v4
99+
uses: codecov/codecov-action@v5
100100
with:
101101
flags: unittests
102102
fail_ci_if_error: false # optional (default = false)
@@ -116,7 +116,7 @@ jobs:
116116
pull-requests: write
117117

118118
steps:
119-
- uses: actions/download-artifact@v4
119+
- uses: actions/download-artifact@v6
120120
if: ${{ always() }}
121121
with:
122122
name: xml-test-reports-${{ runner.os }}

.github/workflows/codeql-analysis.yml

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

3131
steps:
3232
- name: Checkout repository
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v6
3434
with:
3535
# We must fetch at least the immediate parents so that if this is
3636
# a pull request then we can checkout the head.
3737
fetch-depth: 2
3838

3939
# Initializes the CodeQL tools for scanning.
4040
- name: Initialize CodeQL
41-
uses: github/codeql-action/init@v3
41+
uses: github/codeql-action/init@v4
4242
with:
4343
languages: ${{ matrix.language }}
4444
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -77,4 +77,4 @@ jobs:
7777
-PgprUser=${{ github.actor }}
7878
-PgprKey=${{ secrets.GITHUB_TOKEN }}
7979
- name: Perform CodeQL Analysis
80-
uses: github/codeql-action/analyze@v3
80+
uses: github/codeql-action/analyze@v4

.github/workflows/dependencies.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
contents: write
1919

2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2222
with:
2323
# Fetch Git tags, so that semantic version can be calculated.
2424
# Alternatively, run `git fetch --prune --unshallow --tags` as the
@@ -27,7 +27,7 @@ jobs:
2727
fetch-depth: 0
2828

2929
- name: 'Set up Java 17'
30-
uses: actions/setup-java@v4
30+
uses: actions/setup-java@v5
3131
with:
3232
distribution: zulu
3333
java-version: 17

.github/workflows/detekt.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
detekt_check:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
- name: Set up JDK 11
14-
uses: actions/setup-java@v4
14+
uses: actions/setup-java@v5
1515
with:
1616
java-version: 11
1717
distribution: temurin
@@ -26,11 +26,11 @@ jobs:
2626
-PgprKey=${{ secrets.GITHUB_TOKEN }}
2727
- name: Upload SARIF to Github
2828
if: ${{ always() }}
29-
uses: github/codeql-action/upload-sarif@v3
29+
uses: github/codeql-action/upload-sarif@v4
3030
with:
3131
sarif_file: build/detekt-sarif-reports/detekt-merged.sarif
3232
- name: Upload SARIF artifacts
33-
uses: actions/upload-artifact@v4
33+
uses: actions/upload-artifact@v5
3434
if: ${{ failure() }}
3535
with:
3636
name: sarif-reports

.github/workflows/diktat.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
# required for all workflows
1313
security-events: write
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616
- name: Set up JDK 11
17-
uses: actions/setup-java@v4
17+
uses: actions/setup-java@v5
1818
with:
1919
java-version: 11
2020
distribution: temurin
@@ -30,12 +30,12 @@ jobs:
3030
-PgprUser=${{ github.actor }}
3131
-PgprKey=${{ secrets.GITHUB_TOKEN }}
3232
- name: Upload SARIF report to Github
33-
uses: github/codeql-action/upload-sarif@v3
33+
uses: github/codeql-action/upload-sarif@v4
3434
if: ${{ always() }}
3535
with:
3636
sarif_file: build/reports/diktat/diktat-merged.sarif
3737
- name: Upload SARIF artifacts
38-
uses: actions/upload-artifact@v4
38+
uses: actions/upload-artifact@v5
3939
if: ${{ failure() }}
4040
with:
4141
name: sarif-reports

.github/workflows/sarif-utils-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
os: [ ubuntu-latest, windows-latest, macos-latest ]
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v6
2525
with:
2626
# release workflow should have access to all tags
2727
fetch-depth: 0
2828
- name: Set up JDK 17
29-
uses: actions/setup-java@v4
29+
uses: actions/setup-java@v5
3030
with:
3131
java-version: 17
3232
distribution: temurin

0 commit comments

Comments
 (0)