From 6c3d460ba9191496907e7dcb7c736d646e1984a5 Mon Sep 17 00:00:00 2001 From: Adrian Bienkowski Date: Tue, 18 Aug 2026 21:16:45 -0400 Subject: [PATCH] ci: bump docker actions to node24, fix go module cache path in release.yml Fixes the 5 remaining annotations on the release workflow run: - docker/login-action v3 -> v4 and docker/build-push-action v5 -> v7 (both now declare using: node24; v6 of build-push-action was still node20) - setup-go's default cache lookup expects go.mod/go.sum at the repo root, but this repo's Go module lives in go/. Added the same cache-dependency-path: go/go.sum already used in ci.yml to the two setup-go steps in release.yml that were missing it, fixing the 'Restore cache failed: Dependencies file is not found' annotation. --- .github/workflows/release.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59ca8f7..d7cb52c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,6 +21,7 @@ jobs: - uses: actions/setup-go@v7 with: go-version: '1.22' + cache-dependency-path: go/go.sum - uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: "1.85" @@ -77,6 +78,7 @@ jobs: - uses: actions/setup-go@v7 with: go-version: '1.22' + cache-dependency-path: go/go.sum - name: Build Go binary run: | cd go && go build \ @@ -92,13 +94,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Log in to GHCR - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push Go Docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v7 with: context: go file: go/Dockerfile @@ -156,13 +158,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Log in to GHCR - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push Rust Docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v7 with: context: rs file: rs/Dockerfile @@ -226,13 +228,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Log in to GHCR - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push TypeScript Docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v7 with: context: ts file: ts/Dockerfile