diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 042d99d..1260f5c 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -20,7 +20,7 @@ jobs: # ensure that gradle wrapper files in repository are valid by checking checksums - uses: gradle/wrapper-validation-action@v1 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 8 distribution: zulu @@ -45,7 +45,7 @@ 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/' diff --git a/.github/workflows/detekt.yml b/.github/workflows/detekt.yml index 46ab309..2ffee6d 100644 --- a/.github/workflows/detekt.yml +++ b/.github/workflows/detekt.yml @@ -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 diff --git a/.github/workflows/diktat.yml b/.github/workflows/diktat.yml index 85b74e5..20c533e 100644 --- a/.github/workflows/diktat.yml +++ b/.github/workflows/diktat.yml @@ -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 @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8ffd7cd..7d103b3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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