diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 43058ba..95a7f22 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.head_ref }} - - uses: actions/cache@v2.1.8 + - uses: actions/cache@v3.3.3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/gofmt.yml b/.github/workflows/gofmt.yml index afe5a99..72a6267 100644 --- a/.github/workflows/gofmt.yml +++ b/.github/workflows/gofmt.yml @@ -31,7 +31,7 @@ jobs: go-version: ${{ matrix.go-version }} - name: "get golang version" run: echo "::set-env name=golang-version::$(go version)" - - uses: actions/cache@v2.1.8 + - uses: actions/cache@v3.3.3 with: path: ~/go key: ${{ runner.os }}-go-${{ env.golang-version }}