diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 65e6a9a..4a1e5b0 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -36,7 +36,7 @@ jobs: with: go-version: 1.16.x - name: Cache Go modules - uses: actions/cache@v2 + uses: actions/cache@v3.0.11 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} @@ -93,7 +93,7 @@ jobs: uses: actions/setup-go@v2 with: go-version: ${{ matrix.golang }} - - uses: actions/cache@v2 + - uses: actions/cache@v3.0.11 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.golang }}-${{ hashFiles('**/go.sum') }} @@ -136,7 +136,7 @@ jobs: uses: actions/setup-go@v2 with: go-version: ${{ matrix.golang }} - - uses: actions/cache@v2 + - uses: actions/cache@v3.0.11 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.golang }}-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f343583..cd53f5d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: - name: Cache Go modules if: steps.semantic.outputs.new-release-published == 'true' - uses: actions/cache@v2 + uses: actions/cache@v3.0.11 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}