diff --git a/.github/actions/prepare/action.yml b/.github/actions/prepare/action.yml index 2934ca3..4632329 100644 --- a/.github/actions/prepare/action.yml +++ b/.github/actions/prepare/action.yml @@ -12,7 +12,7 @@ runs: # Only an exact hit is restored: fetch.sh skips a tree that already has a .git and only warns # when it sits at another revision, so a stale cache would reach check-vendor and fail there. - name: Cache vendor/ - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: vendor key: vendor-${{ hashFiles('tools/vendor/fetch.sh') }} @@ -26,10 +26,10 @@ runs: # uses .dockerignore to exclude downloads, build output and Git metadata. The # vendor module files remain available to the build. - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Build lc-build:local - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: context: . file: docker/Dockerfile @@ -47,7 +47,7 @@ runs: run: echo "key=openwrt-tc-$(grep -E '^(OPENWRT_RELEASE|TC_SHA256|TC_A64_SHA256) ' Makefile | sha256sum | cut -c1-16)" >> "$GITHUB_OUTPUT" - name: Cache dl/tc and dl/tc-a64 - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: | dl/tc diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index deb3fec..8b48bd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-24.04 timeout-minutes: 5 steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 - run: sh package-xray/check-runtime.sh # The whole gate, exactly as a contributor runs it. Nothing is left out for CI: check-device and @@ -43,7 +43,7 @@ jobs: # mipsel and aarch64. Expected well under an hour; the limit only stops a hung run. timeout-minutes: 120 steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 with: # LC_VERSION is `git describe --tags`, and check-builds reads it back from a binary. fetch-depth: 0 @@ -55,7 +55,7 @@ jobs: - name: Keep the logs of a failed run if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: gate-logs-${{ github.run_id }} path: | @@ -73,7 +73,7 @@ jobs: runs-on: ubuntu-24.04 timeout-minutes: 90 steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 with: fetch-depth: 0 @@ -108,7 +108,7 @@ jobs: sh tools/public/notices.sh --device > "$out/THIRD_PARTY_NOTICES.md" ls -l "$out"/*' - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: lite-client-${{ github.sha }} path: build/routers @@ -117,7 +117,7 @@ jobs: - name: Keep the logs of a failed run if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: cross-logs-${{ github.run_id }} path: | @@ -135,7 +135,7 @@ jobs: runs-on: ubuntu-24.04 timeout-minutes: 5 steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }}