diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 248634183c..4d1d82ca21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,12 +9,12 @@ jobs: contents: read # for actions/checkout steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: cache: npm node-version-file: '.node-version' @@ -46,7 +46,7 @@ jobs: contents: read # for actions/checkout steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false @@ -71,12 +71,12 @@ jobs: contents: read # for actions/checkout steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: cache: npm node-version-file: '.node-version' @@ -100,12 +100,12 @@ jobs: contents: read # for actions/checkout steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version-file: '.node-version' # We install bunch of packages during integration tests without locking them @@ -124,12 +124,12 @@ jobs: contents: read # for actions/checkout steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: cache: npm node-version-file: '.node-version' @@ -150,12 +150,12 @@ jobs: contents: read # for actions/checkout steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false - name: Setup Node.js v${{ matrix.node_version_to_setup }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: cache: npm node-version: ${{ matrix.node_version_to_setup }} @@ -174,17 +174,17 @@ jobs: security-events: write # for codeql-action steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: 'javascript, typescript' - name: Perform CodeQL analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 build-npm-dist: name: Build 'npmDist' artifact @@ -193,12 +193,12 @@ jobs: contents: read # for actions/checkout steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: cache: npm node-version-file: '.node-version' @@ -210,7 +210,7 @@ jobs: run: npm run build:npm - name: Upload npmDist package - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: npmDist path: ./npmDist @@ -222,12 +222,12 @@ jobs: contents: read # for actions/checkout steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: cache: npm node-version-file: '.node-version' @@ -239,7 +239,7 @@ jobs: run: npm run build:deno - name: Upload denoDist package - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: denoDist path: ./denoDist @@ -258,7 +258,7 @@ jobs: contents: read # for actions/download-artifact steps: - name: Download denoDist package - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: denoDist path: ./denoDist diff --git a/.github/workflows/deploy-artifact-as-branch.yml b/.github/workflows/deploy-artifact-as-branch.yml index dc17b9093d..35ded2e923 100644 --- a/.github/workflows/deploy-artifact-as-branch.yml +++ b/.github/workflows/deploy-artifact-as-branch.yml @@ -29,14 +29,14 @@ jobs: contents: write # for actions/checkout and to push branch steps: - name: Checkout `${{ inputs.target_branch }}` branch - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ inputs.target_branch }} - name: Remove existing files first run: git rm -r . - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: name: ${{ inputs.artifact_name }} diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 1754218348..eaa6620760 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -15,12 +15,12 @@ jobs: contents: read # for actions/checkout steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false - name: Dependency review - uses: actions/dependency-review-action@v2 + uses: actions/dependency-review-action@v5 diff-npm-package: name: Diff content of NPM package @@ -29,7 +29,7 @@ jobs: contents: read # for actions/checkout steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false @@ -39,7 +39,7 @@ jobs: run: 'git fetch --depth=1 origin "$BASE_SHA:refs/tags/BASE"' - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: cache: npm node-version-file: '.node-version' @@ -51,7 +51,7 @@ jobs: run: 'npm run diff:npm BASE HEAD' - name: Upload generated report - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: npm-dist-diff.html path: ./reports/npm-dist-diff.html diff --git a/.github/workflows/pull_request_opened.yml b/.github/workflows/pull_request_opened.yml index d0e6aef0ac..83a9b6701a 100644 --- a/.github/workflows/pull_request_opened.yml +++ b/.github/workflows/pull_request_opened.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Upload event.json - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: event.json path: ${{ github.event_path }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b16e388e4..5df3977e8a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: contents: read # for actions/checkout steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: # Keep checkout fast: we should only need to scroll back a few # commits for release notes. If the release commit is older than @@ -31,7 +31,7 @@ jobs: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: cache: npm node-version-file: '.node-version' @@ -67,7 +67,7 @@ jobs: - name: Upload npmDist package if: steps.release_metadata.outputs.should_publish == 'true' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: npmDist path: ./npmDist @@ -78,14 +78,14 @@ jobs: - name: Upload denoDist package if: steps.release_metadata.outputs.should_publish == 'true' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: denoDist path: ./denoDist - name: Upload release notes if: steps.release_metadata.outputs.should_publish == 'true' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: release-notes path: ./release-notes.md @@ -102,17 +102,17 @@ jobs: id-token: write # for npm trusted publishing via OIDC steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version-file: '.node-version' - name: Download npmDist package - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: npmDist path: ./npmDist @@ -138,7 +138,7 @@ jobs: id-token: write # for JSR trusted publishing via OIDC steps: - name: Download denoDist package - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: denoDist path: ./denoDist @@ -163,12 +163,12 @@ jobs: contents: write # for creating GitHub release steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false - name: Download release notes - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: release-notes path: ./artifacts