diff --git a/.github/workflows/clippy_mq.yml b/.github/workflows/clippy_mq.yml index c49241bdff1b..b612ea4611a9 100644 --- a/.github/workflows/clippy_mq.yml +++ b/.github/workflows/clippy_mq.yml @@ -135,7 +135,7 @@ jobs: find $DIR ! -executable -o -type d ! -path $DIR | xargs rm -rf - name: Upload Binaries - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: binaries path: target/debug @@ -179,7 +179,7 @@ jobs: # Download - name: Download target dir - uses: actions/download-artifact@v6 + uses: actions/download-artifact@v8 with: name: binaries path: target/debug diff --git a/.github/workflows/lintcheck.yml b/.github/workflows/lintcheck.yml index 9ce0b7f5fc46..981fecd17c98 100644 --- a/.github/workflows/lintcheck.yml +++ b/.github/workflows/lintcheck.yml @@ -44,7 +44,7 @@ jobs: - name: Cache lintcheck bin id: cache-lintcheck-bin - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: target/debug/lintcheck key: lintcheck-bin-${{ hashfiles('lintcheck/**') }} @@ -59,7 +59,7 @@ jobs: - name: Cache results JSON id: cache-json - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: lintcheck-logs/ci_crates_logs.json key: ${{ steps.key.outputs.key }} @@ -69,7 +69,7 @@ jobs: run: env CLIPPY_CONF_DIR="$PWD/lintcheck/ci-config" ./target/debug/lintcheck --format json --all-lints --crates-toml ./lintcheck/ci_crates.toml - name: Upload base JSON - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: base path: lintcheck-logs/ci_crates_logs.json @@ -87,7 +87,7 @@ jobs: - name: Cache lintcheck bin id: cache-lintcheck-bin - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: target/debug/lintcheck key: lintcheck-bin-${{ hashfiles('lintcheck/**') }} @@ -100,7 +100,7 @@ jobs: run: env CLIPPY_CONF_DIR="$PWD/lintcheck/ci-config" ./target/debug/lintcheck --format json --all-lints --crates-toml ./lintcheck/ci_crates.toml - name: Upload head JSON - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: head path: lintcheck-logs/ci_crates_logs.json @@ -119,14 +119,14 @@ jobs: persist-credentials: false - name: Restore lintcheck bin - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: target/debug/lintcheck key: lintcheck-bin-${{ hashfiles('lintcheck/**') }} fail-on-cache-miss: true - name: Download JSON - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v8 - name: Store PR number run: echo ${{ github.event.pull_request.number }} > pr.txt @@ -140,13 +140,13 @@ jobs: ./target/debug/lintcheck diff {base,head}/ci_crates_logs.json --write-summary summary.json > full_diff.md - name: Upload full diff - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: full_diff path: full_diff.md - name: Upload summary - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: summary path: | diff --git a/.github/workflows/lintcheck_summary.yml b/.github/workflows/lintcheck_summary.yml index 6768cd65701a..da6a7474cdb9 100644 --- a/.github/workflows/lintcheck_summary.yml +++ b/.github/workflows/lintcheck_summary.yml @@ -27,7 +27,7 @@ jobs: if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: Download artifact - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v8 with: name: summary path: untrusted @@ -35,7 +35,7 @@ jobs: github-token: ${{ github.token }} - name: Format comment - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const fs = require("fs");