diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index d7d9d40b1..e9d24ead7 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -44,7 +44,7 @@ jobs: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV - id: cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: dist/linux key: linux-${{ env.sha_short }}-canary @@ -89,7 +89,7 @@ jobs: run: | echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV - id: cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: dist/darwin key: darwin-${{ env.sha_short }}-canary @@ -123,11 +123,11 @@ jobs: - shell: bash run: | echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: dist/linux key: linux-${{ env.sha_short }}-canary - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: dist/darwin key: darwin-${{ env.sha_short }}-canary diff --git a/.github/workflows/command_doc_check.yml b/.github/workflows/command_doc_check.yml index 1fa3f20d8..22fe21893 100644 --- a/.github/workflows/command_doc_check.yml +++ b/.github/workflows/command_doc_check.yml @@ -27,7 +27,7 @@ jobs: with: node-version: "16" - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 071c7c81f..4336d4536 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -30,7 +30,7 @@ jobs: with: node-version: "16" - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/lint_docs.yml b/.github/workflows/lint_docs.yml index 9135c295d..7553d4080 100644 --- a/.github/workflows/lint_docs.yml +++ b/.github/workflows/lint_docs.yml @@ -23,7 +23,7 @@ jobs: with: node-version: "16" - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e0f2d4ee..d2e385710 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV - id: cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: dist/linux key: linux-${{ env.sha_short }} @@ -89,7 +89,7 @@ jobs: run: | echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV - id: cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: dist/darwin key: darwin-${{ env.sha_short }} @@ -123,11 +123,11 @@ jobs: - shell: bash run: | echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: dist/linux key: linux-${{ env.sha_short }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: dist/darwin key: darwin-${{ env.sha_short }} diff --git a/.github/workflows/version_comparison.yml b/.github/workflows/version_comparison.yml index bad7e2ca3..c33f62536 100644 --- a/.github/workflows/version_comparison.yml +++ b/.github/workflows/version_comparison.yml @@ -67,7 +67,7 @@ jobs: cd ./test-cli go build -o ../bearer-comparison/test-bearer ./cmd/bearer/main.go - name: Cache CLIs and rules - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: path: bearer-comparison key: ${{ steps.cache_key.outputs.value }} @@ -80,7 +80,7 @@ jobs: fail-fast: false steps: - name: Restore CLIs and rules - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bearer-comparison key: ${{ needs.setup.outputs.cache_key }}