diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b91ad0b..97d879c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,8 @@ jobs: - uses: actions/setup-go@v5 with: go-version: '>=1.22.0' - cache: false + check-latest: true + cache-dependency-path: "**/*.sum" - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 6c96c5d4..9cff7c1a 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -58,7 +58,8 @@ jobs: - uses: actions/setup-go@v5 with: go-version: '>=1.22.0' - cache: false + check-latest: true + cache-dependency-path: "**/*.sum" - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: