diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e2a4fda..22bd348 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Set cache - uses: actions/cache@v3.2.6 + uses: actions/cache@v4.0.2 with: path: ~/go/pkg/mod key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.sum') }} @@ -38,14 +38,14 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Download go mod cache - uses: actions/cache@v3.2.6 + uses: actions/cache@v4.0.2 with: path: ~/go/pkg/mod key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-gomod- - name: Set go build cache - uses: actions/cache@v3.2.6 + uses: actions/cache@v4.0.2 with: path: /tmp/go/cache key: ${{ runner.os }}-go-build-${{ github.ref }}-${{ github.sha }} @@ -75,7 +75,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Download go mod cache - uses: actions/cache@v3.2.6 + uses: actions/cache@v4.0.2 with: path: ~/go/pkg/mod key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.sum') }} @@ -94,7 +94,7 @@ jobs: with: go-version: 1.17 - uses: actions/checkout@v3 - - uses: actions/cache@v3.2.6 + - uses: actions/cache@v4.0.2 with: path: ~/go/pkg/mod key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.sum') }}