diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6d30c5a03..8ddd8e21e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -131,7 +131,7 @@ jobs: # it is shared via a single key to avoid storing the same ~600 MiB in # every job's cache and overflowing the repo cache limit. - name: Module cache - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ${{ steps.go-paths.outputs.mod-cache }} key: go-mod-${{ steps.get-runner-parameters.outputs.year-week }}-${{ hashFiles('go.sum') }} @@ -142,7 +142,7 @@ jobs: # The build cache holds compiled artifacts which are specific to the # OS, arch and Go version, so it is kept per job. - name: Build cache - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ${{ steps.go-paths.outputs.build-cache }} key: go-build-${{ matrix.job_name }}-${{ steps.get-runner-parameters.outputs.runner-os-version }}-go${{ steps.setup-go.outputs.go-version }}-${{ steps.get-runner-parameters.outputs.year-week }}-${{ hashFiles('go.sum') }} @@ -283,7 +283,7 @@ jobs: cache: false - name: Module cache - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ~/go/pkg/mod key: go-mod-${{ steps.get-runner-parameters.outputs.year-week }}-${{ hashFiles('go.sum') }} @@ -292,7 +292,7 @@ jobs: go-mod- - name: Cache - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: | ~/.cache/go-build @@ -405,7 +405,7 @@ jobs: echo "mod-cache=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT - name: Module cache - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ${{ steps.go-paths.outputs.mod-cache }} key: go-mod-${{ steps.get-runner-parameters.outputs.year-week }}-${{ hashFiles('go.sum') }} @@ -414,7 +414,7 @@ jobs: go-mod- - name: Build cache - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ${{ steps.go-paths.outputs.build-cache }} key: go-build-android-${{ steps.get-runner-parameters.outputs.runner-os-version }}-go${{ steps.setup-go.outputs.go-version }}-${{ steps.get-runner-parameters.outputs.year-week }}-${{ hashFiles('go.sum') }} diff --git a/.github/workflows/build_publish_docker_image.yml b/.github/workflows/build_publish_docker_image.yml index 6c865d234..8531257ff 100644 --- a/.github/workflows/build_publish_docker_image.yml +++ b/.github/workflows/build_publish_docker_image.yml @@ -133,7 +133,7 @@ jobs: - name: Load Go Build Cache for Docker id: go-cache - uses: actions/cache@v5 + uses: actions/cache@v6 with: key: ${{ runner.os }}-${{ steps.imageos.outputs.result }}-go-${{ env.CACHE_NAME }}-${{ env.PLATFORM }}-${{ hashFiles('**/go.mod') }}-${{ hashFiles('**/go.sum') }} restore-keys: |