diff --git a/.github/actions/setup-go/action.yml b/.github/actions/setup-go/action.yml index bca65bda73b..df6f24ece6b 100644 --- a/.github/actions/setup-go/action.yml +++ b/.github/actions/setup-go/action.yml @@ -30,7 +30,7 @@ runs: echo "GOCACHE=/home/runner/go/pkg/mod" >> $GITHUB_ENV echo "GOMODCACHE=/home/runner/.cache/go-build" >> $GITHUB_ENV fi - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 if: ${{ inputs.upload-cache == 'true' }} with: path: | @@ -39,7 +39,7 @@ runs: key: ${{ inputs.cache-prefix }}-${{ runner.os }}-${{ runner.arch }}-go-${{ inputs.go-version }}-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ inputs.cache-prefix }}-${{ runner.os }}-${{ runner.arch }}-go-${{ inputs.go-version }}- - - uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a + - uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 if: ${{ inputs.upload-cache != 'true' }} with: path: |