diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c28b2eb1..2d14786f 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -108,7 +108,7 @@ jobs: check-latest: true - name: Cache Go modules - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }} @@ -195,7 +195,7 @@ jobs: go-version: '1.22' # test only the latest go version to speed up CI - name: Cache Go modules - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} @@ -240,7 +240,7 @@ jobs: go-version: '1.22' # test only the latest go version to speed up CI - name: Cache Go modules - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} @@ -285,7 +285,7 @@ jobs: go-version: '' # test only the latest go version to speed up CI - name: Cache Go modules - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index 104c667b..792c1188 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -43,7 +43,7 @@ jobs: check-latest: true - name: Cache Go modules - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}