diff --git a/.github/workflows/pr-main.yaml b/.github/workflows/pr-main.yaml index 09e2c0c..6bfaff7 100644 --- a/.github/workflows/pr-main.yaml +++ b/.github/workflows/pr-main.yaml @@ -43,7 +43,7 @@ jobs: } >> "$GITHUB_ENV" - name: Cache Go modules and build cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ${{ env.GOMODCACHE }} @@ -107,7 +107,7 @@ jobs: } >> "$GITHUB_ENV" - name: Cache Go modules and build cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ${{ env.GOMODCACHE }} @@ -157,7 +157,7 @@ jobs: } >> "$GITHUB_ENV" - name: Cache Go modules and build cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ${{ env.GOMODCACHE }} diff --git a/.github/workflows/pr-pre-commit.yaml b/.github/workflows/pr-pre-commit.yaml index ca8234a..9b73977 100644 --- a/.github/workflows/pr-pre-commit.yaml +++ b/.github/workflows/pr-pre-commit.yaml @@ -41,7 +41,7 @@ jobs: } >> "$GITHUB_ENV" - name: Cache Go modules - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.GOMODCACHE }} key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }} @@ -49,7 +49,7 @@ jobs: ${{ runner.os }}-go-mod- - name: Cache Go build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.GOCACHE }} key: ${{ runner.os }}-go-build-${{ hashFiles('**/*.go') }} @@ -80,7 +80,7 @@ jobs: python-version: '3.x' - name: Cache pre-commit - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.cache/pre-commit key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}