diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 1a3a33318..cad6e0365 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -22,7 +22,7 @@ jobs: uses: actions/checkout@v3 - name: Restore Go modules cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: go-${{ runner.os }}-${{ hashFiles('go.mod') }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index dd1fede0d..0d16f29d8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -28,7 +28,7 @@ jobs: uses: actions/checkout@v3 - name: Restore Go modules cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: go-${{ runner.os }}-${{ hashFiles('go.mod') }}