Skip to content

Commit

Permalink
Update all github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jan 31, 2024
1 parent 8baee81 commit da02fb5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
# actions/checkout v1.* is needed for correct codecov upload, see https://github.com/actions/checkout/issues/237 for details
- uses: actions/checkout@v4
# ensure that gradle wrapper files in repository are valid by checking checksums
- uses: gradle/wrapper-validation-action@v1
- uses: gradle/wrapper-validation-action@v2
- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 8
distribution: zulu
- name: Cache konan
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.konan
key: ${{ runner.os }}-gradle-konan
Expand All @@ -45,14 +45,14 @@ jobs:
buildSrc/**/Versions.kt
- name: Upload gradle reports
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: gradle-reports-${{ matrix.os }}
path: '**/build/reports/'
- name: Code coverage report
#if: ${{ runner.os == 'Linux' }}
if: ${{ false }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
flags: unittests
fail_ci_if_error: true # optional (default = false)
2 changes: 1 addition & 1 deletion .github/workflows/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 11
distribution: zulu
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/diktat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 11
distribution: zulu
Expand All @@ -33,12 +33,12 @@ jobs:
i=0
find . -path "*/build/reports/diktat/*.sarif" | while read -r f; do echo "$f -> diktat-$i.sarif" && cp $f build/diktat-sarif-reports/diktat-$i.sarif || echo Cannot copy && echo Copied && i=$((i+1)); done
- name: Upload SARIF report to Github
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
if: ${{ failure() }}
with:
sarif_file: build/diktat-sarif-reports
- name: Upload SARIF artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: sarif-reports
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
# release workflow should have access to all tags
fetch-depth: 0
- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 8
distribution: zulu
Expand Down

0 comments on commit da02fb5

Please sign in to comment.