diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 820349449..2e47d1404 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,7 @@ jobs: - name: Restore cache id: cache-go-modules if: github.event_name == 'pull_request' - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-${{ github.ref_name }}-go-modules-${{ hashFiles('**/go.sum') }} @@ -67,7 +67,7 @@ jobs: - name: Restore cache id: cache-go-modules if: github.event_name == 'pull_request' - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-${{ github.ref_name }}-go-modules-${{ hashFiles('**/go.sum') }} @@ -301,7 +301,7 @@ jobs: cache: false - name: Restore cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: | ~/.cache/go-build @@ -378,7 +378,7 @@ jobs: - name: Cache Go if: github.event_name != 'pull_request' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cache/go-build @@ -389,7 +389,7 @@ jobs: - name: Restore cache if: github.event_name == 'pull_request' - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: | ~/.cache/go-build