diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 06e20a4749..898af235ad 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -34,7 +34,7 @@ jobs: sudo chmod 755 ~/.kube/config kubectl version kubectl create ns argo-rollouts - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9d7ba50006..729668ced6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -41,7 +41,7 @@ jobs: uses: actions/checkout@v1 - name: Restore go build cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cache/go-build key: ${{ runner.os }}-go-build-v1-${{ github.run_id }} @@ -85,15 +85,15 @@ jobs: run: | mkdir -p ~/go/src/github.com/argoproj ln -s $(pwd) ~/go/src/github.com/argoproj/argo-rollouts - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: /home/runner/.cache/go-build key: GOCACHE-${{ hashFiles('**/go.mod') }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: /home/runner/go/pkg/mod key: GOMODCACHE-${{ hashFiles('**/go.mod') }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: /home/runner/go/bin key: go-bin-v1-${{ hashFiles('**/go.mod') }}