Unverified Commit 90e3c811 authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

[16.2.x] Align Actions dependencies with Canary (#94339)

Co-authored-by: 's avatarMatt Mastracci <matthew@mastracci.com>
Co-authored-by: 's avatardagecko <cnyhuis@vigilantnow.com>
Co-authored-by: 's avatarBenjamin Woodruff <github@benjam.info>
Co-authored-by: 's avatarBenjamin Woodruff <benjamin.woodruff@vercel.com>
parent 83f402c6
...@@ -9,7 +9,7 @@ runs: ...@@ -9,7 +9,7 @@ runs:
using: 'composite' using: 'composite'
steps: steps:
- name: 'Setup Rust toolchain' - name: 'Setup Rust toolchain'
uses: actions-rust-lang/setup-rust-toolchain@v1 uses: actions-rust-lang/setup-rust-toolchain@2b1f5e9b395427c92ee4e3331786ca3c37afe2d7 # v1.16.0
with: with:
target: ${{ inputs.targets }} target: ${{ inputs.targets }}
# needed to not make it override the defaults # needed to not make it override the defaults
......
This diff is collapsed.
...@@ -31,7 +31,7 @@ jobs: ...@@ -31,7 +31,7 @@ jobs:
permissions: permissions:
contents: read contents: read
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 25 fetch-depth: 25
...@@ -101,10 +101,11 @@ jobs: ...@@ -101,10 +101,11 @@ jobs:
if: ${{ needs.changes.outputs.docs-only == 'false' }} if: ${{ needs.changes.outputs.docs-only == 'false' }}
steps: steps:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup pnpm - name: Setup pnpm
run: | run: |
...@@ -112,7 +113,7 @@ jobs: ...@@ -112,7 +113,7 @@ jobs:
corepack enable corepack enable
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 25 fetch-depth: 25
...@@ -134,7 +135,7 @@ jobs: ...@@ -134,7 +135,7 @@ jobs:
fi fi
- name: Upload test timings - name: Upload test timings
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: test-timings name: test-timings
path: test-timings.json path: test-timings.json
...@@ -158,10 +159,11 @@ jobs: ...@@ -158,10 +159,11 @@ jobs:
validate-docs-links: validate-docs-links:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@v4 - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: 20 node-version: 20
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
npm i -g corepack@0.31 npm i -g corepack@0.31
...@@ -237,9 +239,9 @@ jobs: ...@@ -237,9 +239,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: ast-grep lint name: ast-grep lint
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: ast-grep lint step - name: ast-grep lint step
uses: ast-grep/action@v1.5.0 uses: ast-grep/action@cf62e780f0c88301228978d593a7784427a097a6 # v1.5.0
with: with:
# Keep in sync with the next.js repo's root package.json # Keep in sync with the next.js repo's root package.json
version: 0.31.0 version: 0.31.0
......
...@@ -176,7 +176,7 @@ jobs: ...@@ -176,7 +176,7 @@ jobs:
fnm env --json | jq -r 'to_entries|map("\(.key)=\(.value|tostring)")|.[]' | xargs -I {} echo "{}" >> $GITHUB_ENV fnm env --json | jq -r 'to_entries|map("\(.key)=\(.value|tostring)")|.[]' | xargs -I {} echo "{}" >> $GITHUB_ENV
- name: Normalize input step names into path key - name: Normalize input step names into path key
uses: actions/github-script@v7 uses: actions/github-script@d746ffe35508b1917358783b479e04febd2b8f71 # v9.0.0
id: var id: var
with: with:
script: | script: |
...@@ -213,7 +213,7 @@ jobs: ...@@ -213,7 +213,7 @@ jobs:
- run: rm -rf .git - run: rm -rf .git
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 25 fetch-depth: 25
...@@ -225,7 +225,7 @@ jobs: ...@@ -225,7 +225,7 @@ jobs:
- name: Cache pnpm store - name: Cache pnpm store
if: ${{ runner.environment == 'github-hosted' }} if: ${{ runner.environment == 'github-hosted' }}
uses: actions/cache@v4 uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
timeout-minutes: 5 timeout-minutes: 5
id: cache-pnpm-store id: cache-pnpm-store
with: with:
...@@ -247,7 +247,7 @@ jobs: ...@@ -247,7 +247,7 @@ jobs:
- name: Install nextest - name: Install nextest
if: ${{ inputs.needsNextest == 'yes' }} if: ${{ inputs.needsNextest == 'yes' }}
uses: taiki-e/install-action@nextest uses: taiki-e/install-action@3a0adc33ab45d7b9b9da91822dd2b3c0151704be # nextest
- run: rustc --version - run: rustc --version
if: ${{ inputs.skipNativeBuild != 'yes' || inputs.needsNextest == 'yes' || inputs.needsRust == 'yes' }} if: ${{ inputs.skipNativeBuild != 'yes' || inputs.needsNextest == 'yes' || inputs.needsRust == 'yes' }}
...@@ -255,7 +255,7 @@ jobs: ...@@ -255,7 +255,7 @@ jobs:
- run: corepack prepare --activate yarn@1.22.19 && npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" - run: corepack prepare --activate yarn@1.22.19 && npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}"
- name: Cache on ${{ github.ref_name }} - name: Cache on ${{ github.ref_name }}
uses: ijjk/rust-cache@turbo-cache-v1.0.9 uses: ijjk/rust-cache@a34594c450817c9860143c79797a8770c4e587f5 # turbo-cache-v1.0.9
if: ${{ inputs.rustCacheKey }} if: ${{ inputs.rustCacheKey }}
with: with:
cache-provider: 'turbo' cache-provider: 'turbo'
...@@ -283,7 +283,7 @@ jobs: ...@@ -283,7 +283,7 @@ jobs:
- name: Upload next-swc artifact - name: Upload next-swc artifact
if: ${{ inputs.uploadSwcArtifact == 'yes' }} if: ${{ inputs.uploadSwcArtifact == 'yes' }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: next-swc-binary name: next-swc-binary
path: packages/next-swc/native/next-swc.linux-x64-gnu.node path: packages/next-swc/native/next-swc.linux-x64-gnu.node
...@@ -308,7 +308,7 @@ jobs: ...@@ -308,7 +308,7 @@ jobs:
- name: Download pre-built test timings - name: Download pre-built test timings
if: ${{ inputs.testTimingsArtifact != '' }} if: ${{ inputs.testTimingsArtifact != '' }}
uses: actions/download-artifact@v4 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
name: ${{ inputs.testTimingsArtifact }} name: ${{ inputs.testTimingsArtifact }}
...@@ -342,14 +342,14 @@ jobs: ...@@ -342,14 +342,14 @@ jobs:
- name: Upload Turborepo summary - name: Upload Turborepo summary
if: ${{ always() }} if: ${{ always() }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: turbo-run-summary-${{ steps.var.outputs.input_step_key }} name: turbo-run-summary-${{ steps.var.outputs.input_step_key }}
path: .turbo/runs path: .turbo/runs
if-no-files-found: ignore if-no-files-found: ignore
- name: Upload bundle analyzer artifacts - name: Upload bundle analyzer artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: ${{ inputs.uploadAnalyzerArtifacts == 'yes' }} if: ${{ inputs.uploadAnalyzerArtifacts == 'yes' }}
with: with:
name: webpack bundle analysis stats-${{ steps.var.outputs.input_step_key }} name: webpack bundle analysis stats-${{ steps.var.outputs.input_step_key }}
...@@ -382,7 +382,7 @@ jobs: ...@@ -382,7 +382,7 @@ jobs:
fi fi
- name: Upload Playwright Snapshots - name: Upload Playwright Snapshots
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: ${{ inputs.afterBuild && always() }} if: ${{ inputs.afterBuild && always() }}
with: with:
name: test-playwright-snapshots-${{ steps.var.outputs.input_step_key }} name: test-playwright-snapshots-${{ steps.var.outputs.input_step_key }}
......
...@@ -27,10 +27,11 @@ jobs: ...@@ -27,10 +27,11 @@ jobs:
environment: release-${{ github.event.inputs.releaseType }} environment: release-${{ github.event.inputs.releaseType }}
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: 20 node-version: 20
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
npm i -g corepack@0.31 npm i -g corepack@0.31
...@@ -42,6 +43,7 @@ jobs: ...@@ -42,6 +43,7 @@ jobs:
- name: tune linux network - name: tune linux network
run: sudo ethtool -K eth0 tx off rx off run: sudo ethtool -K eth0 tx off rx off
- run: node ./scripts/code-freeze.js --type ${{ github.event.inputs.type }} - run: node ./scripts/code-freeze.js --type "${INPUT_TYPE}"
env: env:
CODE_FREEZE_TOKEN: ${{ secrets.CODE_FREEZE_TOKEN }} CODE_FREEZE_TOKEN: ${{ secrets.CODE_FREEZE_TOKEN }}
INPUT_TYPE: ${{ github.event.inputs.type }}
...@@ -30,14 +30,15 @@ jobs: ...@@ -30,14 +30,15 @@ jobs:
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: 20 node-version: 20
check-latest: true check-latest: true
package-manager-cache: false
- name: Create GitHub App token - name: Create GitHub App token
id: release-app-token id: release-app-token
uses: actions/create-github-app-token@v3 uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with: with:
client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }} client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }} private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }}
...@@ -76,7 +77,7 @@ jobs: ...@@ -76,7 +77,7 @@ jobs:
- id: get-store-path - id: get-store-path
run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT
- uses: actions/cache@v4 - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
timeout-minutes: 5 timeout-minutes: 5
id: cache-pnpm-store id: cache-pnpm-store
with: with:
......
...@@ -21,7 +21,7 @@ jobs: ...@@ -21,7 +21,7 @@ jobs:
VERCEL_API_TOKEN: ${{ secrets.VERCEL_API_TOKEN }} VERCEL_API_TOKEN: ${{ secrets.VERCEL_API_TOKEN }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
ref: ${{ github.sha }} ref: ${{ github.sha }}
fetch-depth: 25 fetch-depth: 25
......
...@@ -40,12 +40,15 @@ jobs: ...@@ -40,12 +40,15 @@ jobs:
steps: steps:
- name: Optimize CI - name: Optimize CI
id: check-skip id: check-skip
uses: withgraphite/graphite-ci-action@main uses: withgraphite/graphite-ci-action@ee395f3a78254c006d11339669c6cabddf196f72 # main
with: with:
graphite_token: ${{ secrets.GRAPHITE_TOKEN }} graphite_token: ${{ secrets.GRAPHITE_TOKEN }}
- name: Debug Output - name: Debug Output
run: | run: |
echo 'github.event_name: ${{ github.event_name }}' echo 'github.event_name: ${{ github.event_name }}'
echo "secrets.GRAPHITE_TOKEN != '': ${{ secrets.GRAPHITE_TOKEN != '' }}" echo "secrets.GRAPHITE_TOKEN != '': ${GRAPHITE_TOKEN}"
echo 'env.HAS_BYPASS_LABEL: ${{ env.HAS_BYPASS_LABEL }}' echo 'env.HAS_BYPASS_LABEL: ${{ env.HAS_BYPASS_LABEL }}'
echo 'steps.check-skip.outputs.skip: ${{ steps.check-skip.outputs.skip }}' echo 'steps.check-skip.outputs.skip: ${{ steps.check-skip.outputs.skip }}'
env:
GRAPHITE_TOKEN: ${{ secrets.GRAPHITE_TOKEN != '' }}
...@@ -153,7 +153,7 @@ jobs: ...@@ -153,7 +153,7 @@ jobs:
pull-requests: write pull-requests: write
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Collect integration test stat - name: Collect integration test stat
uses: ./.github/actions/next-integration-stat uses: ./.github/actions/next-integration-stat
...@@ -161,7 +161,7 @@ jobs: ...@@ -161,7 +161,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Store artifacts - name: Store artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: test-results-${{ inputs.name }} name: test-results-${{ inputs.name }}
path: | path: |
......
...@@ -18,7 +18,7 @@ jobs: ...@@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository_owner == 'vercel' if: github.repository_owner == 'vercel'
steps: steps:
- uses: dessant/lock-threads@v5 - uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
with: with:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
add-issue-labels: 'locked' add-issue-labels: 'locked'
......
...@@ -10,7 +10,7 @@ jobs: ...@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository_owner == 'vercel' if: github.repository_owner == 'vercel'
steps: steps:
- uses: actions/stale@v9 - uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
id: issue-stale id: issue-stale
name: 'Mark stale issues, close stale issues' name: 'Mark stale issues, close stale issues'
with: with:
...@@ -26,7 +26,7 @@ jobs: ...@@ -26,7 +26,7 @@ jobs:
stale-issue-message: 'This issue has been automatically marked as stale due to inactivity. It will be closed in 7 days unless there’s further input. If you believe this issue is still relevant, please leave a comment or provide updated details. Thank you.' stale-issue-message: 'This issue has been automatically marked as stale due to inactivity. It will be closed in 7 days unless there’s further input. If you believe this issue is still relevant, please leave a comment or provide updated details. Thank you.'
close-issue-message: 'This issue has been automatically closed due to inactivity. If you’re still experiencing a similar problem or have additional details to share, please open a new issue following our current issue template. Your updated report helps us investigate and address concerns more efficiently. Thank you for your understanding!' close-issue-message: 'This issue has been automatically closed due to inactivity. If you’re still experiencing a similar problem or have additional details to share, please open a new issue following our current issue template. Your updated report helps us investigate and address concerns more efficiently. Thank you for your understanding!'
operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close
- uses: actions/stale@v9 - uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
id: stale-no-repro id: stale-no-repro
name: 'Close stale issues with no reproduction' name: 'Close stale issues with no reproduction'
with: with:
...@@ -41,7 +41,7 @@ jobs: ...@@ -41,7 +41,7 @@ jobs:
stale-issue-label: 'stale' stale-issue-label: 'stale'
labels-to-add-when-unstale: 'not stale' labels-to-add-when-unstale: 'not stale'
operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close
- uses: actions/stale@v9 - uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
id: stale-simple-repro id: stale-simple-repro
name: 'Close issues with no simple repro' name: 'Close issues with no simple repro'
with: with:
...@@ -56,7 +56,7 @@ jobs: ...@@ -56,7 +56,7 @@ jobs:
stale-issue-label: 'stale' stale-issue-label: 'stale'
labels-to-add-when-unstale: 'not stale' labels-to-add-when-unstale: 'not stale'
operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close
- uses: actions/stale@v9 - uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
id: stale-no-canary id: stale-no-canary
name: 'Close issues not verified on canary' name: 'Close issues not verified on canary'
with: with:
......
...@@ -9,8 +9,10 @@ jobs: ...@@ -9,8 +9,10 @@ jobs:
if: github.event.label.name == 'please use the correct issue template' if: github.event.label.name == 'please use the correct issue template'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@v4 - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
npm i -g corepack@0.31 npm i -g corepack@0.31
......
...@@ -10,8 +10,10 @@ jobs: ...@@ -10,8 +10,10 @@ jobs:
if: github.repository_owner == 'vercel' if: github.repository_owner == 'vercel'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@v4 - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
npm i -g corepack@0.31 npm i -g corepack@0.31
......
...@@ -52,7 +52,7 @@ jobs: ...@@ -52,7 +52,7 @@ jobs:
bundler: [webpack, turbopack] bundler: [webpack, turbopack]
runs-on: ubuntu-latest-16-core-oss runs-on: ubuntu-latest-16-core-oss
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 25 fetch-depth: 25
...@@ -60,7 +60,7 @@ jobs: ...@@ -60,7 +60,7 @@ jobs:
run: echo "DOCS_CHANGE<<EOF" >> $GITHUB_OUTPUT; echo "$(node scripts/run-for-change.mjs --not --type docs --exec echo 'nope')" >> $GITHUB_OUTPUT; echo 'EOF' >> $GITHUB_OUTPUT run: echo "DOCS_CHANGE<<EOF" >> $GITHUB_OUTPUT; echo "$(node scripts/run-for-change.mjs --not --type docs --exec echo 'nope')" >> $GITHUB_OUTPUT; echo 'EOF' >> $GITHUB_OUTPUT
id: docs-change id: docs-change
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
with: with:
name: next-swc-binary name: next-swc-binary
...@@ -81,7 +81,7 @@ jobs: ...@@ -81,7 +81,7 @@ jobs:
- name: Upload stats results - name: Upload stats results
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: pr-stats-${{ matrix.bundler }} name: pr-stats-${{ matrix.bundler }}
path: pr-stats-${{ matrix.bundler }}.json path: pr-stats-${{ matrix.bundler }}.json
...@@ -93,7 +93,7 @@ jobs: ...@@ -93,7 +93,7 @@ jobs:
if: always() && needs.stats.result != 'cancelled' if: always() && needs.stats.result != 'cancelled'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 25 fetch-depth: 25
...@@ -103,7 +103,7 @@ jobs: ...@@ -103,7 +103,7 @@ jobs:
- name: Download all stats artifacts - name: Download all stats artifacts
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
uses: actions/download-artifact@v4 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
pattern: pr-stats-* pattern: pr-stats-*
path: stats-results path: stats-results
...@@ -111,9 +111,10 @@ jobs: ...@@ -111,9 +111,10 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
package-manager-cache: false
- name: Install dependencies - name: Install dependencies
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
......
...@@ -47,7 +47,7 @@ jobs: ...@@ -47,7 +47,7 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Display release mode - name: Display release mode
run: | run: |
...@@ -61,10 +61,11 @@ jobs: ...@@ -61,10 +61,11 @@ jobs:
echo " - 📦 This will PUBLISH packages to npm" echo " - 📦 This will PUBLISH packages to npm"
fi fi
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v6 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: '24' node-version: '24'
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
package-manager-cache: false
- name: Enable corepack - name: Enable corepack
run: corepack enable run: corepack enable
...@@ -77,7 +78,7 @@ jobs: ...@@ -77,7 +78,7 @@ jobs:
working-directory: ./rspack working-directory: ./rspack
- name: Cache pnpm dependencies - name: Cache pnpm dependencies
uses: actions/cache@v3 uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with: with:
path: ~/.pnpm-store path: ~/.pnpm-store
key: ${{ runner.os }}-${{ runner.arch }}-pnpm-v2-${{ hashFiles('**/pnpm-lock.yaml') }} key: ${{ runner.os }}-${{ runner.arch }}-pnpm-v2-${{ hashFiles('**/pnpm-lock.yaml') }}
......
...@@ -54,7 +54,7 @@ jobs: ...@@ -54,7 +54,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: send webhook - name: send webhook
uses: slackapi/slack-github-action@v1.25.0 uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0
with: with:
payload: | payload: |
{ {
......
...@@ -29,7 +29,7 @@ jobs: ...@@ -29,7 +29,7 @@ jobs:
steps: steps:
- name: Check conclusion of required job - name: Check conclusion of required job
id: required_job_conclusion id: required_job_conclusion
uses: actions/github-script@v7 uses: actions/github-script@d746ffe35508b1917358783b479e04febd2b8f71 # v9.0.0
continue-on-error: true continue-on-error: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
...@@ -95,7 +95,7 @@ jobs: ...@@ -95,7 +95,7 @@ jobs:
steps: steps:
- name: Check conclusion of required job - name: Check conclusion of required job
id: required_job_conclusion id: required_job_conclusion
uses: actions/github-script@v7 uses: actions/github-script@d746ffe35508b1917358783b479e04febd2b8f71 # v9.0.0
continue-on-error: true continue-on-error: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
...@@ -138,7 +138,7 @@ jobs: ...@@ -138,7 +138,7 @@ jobs:
return await rerunIfRequiredNotSuccessful() return await rerunIfRequiredNotSuccessful()
- name: send webhook - name: send webhook
if: ${{ steps.required_job_conclusion.outputs.result != '"success"' }} if: ${{ steps.required_job_conclusion.outputs.result != '"success"' }}
uses: slackapi/slack-github-action@v1.25.0 uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0
with: with:
# These urls are intentionally missing the protocol, # These urls are intentionally missing the protocol,
# allowing them to be transformed into actual links in the Slack workflow # allowing them to be transformed into actual links in the Slack workflow
......
...@@ -14,17 +14,18 @@ jobs: ...@@ -14,17 +14,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
...@@ -54,17 +55,18 @@ jobs: ...@@ -54,17 +55,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
......
...@@ -21,16 +21,16 @@ jobs: ...@@ -21,16 +21,16 @@ jobs:
output1: ${{ steps.build-next-swc-turbopack-patch.outputs.success }} output1: ${{ steps.build-next-swc-turbopack-patch.outputs.success }}
steps: steps:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ inputs.nodeVersion || env.NODE_LTS_VERSION }} node-version: ${{ inputs.nodeVersion || env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
- name: Get number of CPU cores - name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v2 uses: SimenB/github-actions-cpu-cores@97ba232459a8e02ff6121db9362b09661c875ab8 # v2.0.0
id: cpu-cores id: cpu-cores
- name: 'Setup Rust toolchain' - name: 'Setup Rust toolchain'
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9 # stable
- name: Display runner information - name: Display runner information
run: echo runner cpu count ${{ steps.cpu-cores.outputs.count }} run: echo runner cpu count ${{ steps.cpu-cores.outputs.count }}
...@@ -50,24 +50,24 @@ jobs: ...@@ -50,24 +50,24 @@ jobs:
run: echo "Checking out Next.js ${{ env.NEXTJS_VERSION }}" run: echo "Checking out Next.js ${{ env.NEXTJS_VERSION }}"
- name: Checkout Next.js - name: Checkout Next.js
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
repository: vercel/next.js repository: vercel/next.js
ref: ${{ env.NEXTJS_VERSION }} ref: ${{ env.NEXTJS_VERSION }}
- name: Checkout failed test lists - name: Checkout failed test lists
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
repository: vercel/turbo repository: vercel/turbo
ref: nextjs-integration-test-data ref: nextjs-integration-test-data
path: integration-test-data path: integration-test-data
- name: Download binary - name: Download binary
uses: actions/download-artifact@v4 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
path: artifacts path: artifacts
- uses: actions/cache/restore@v3 - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
id: restore-build id: restore-build
with: with:
path: | path: |
...@@ -113,7 +113,7 @@ jobs: ...@@ -113,7 +113,7 @@ jobs:
# it is too heavyweight for the purpose since we do not need to persist # it is too heavyweight for the purpose since we do not need to persist
# the cache across multiple runs. # the cache across multiple runs.
- name: Store next.js build cache with next-swc - name: Store next.js build cache with next-swc
uses: actions/cache/save@v3 uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
id: cache-build id: cache-build
with: with:
path: | path: |
......
...@@ -32,16 +32,17 @@ jobs: ...@@ -32,16 +32,17 @@ jobs:
if: inputs.os == 'windows' if: inputs.os == 'windows'
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Rust - name: Setup Rust
uses: ./.github/actions/setup-rust uses: ./.github/actions/setup-rust
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- run: corepack enable - run: corepack enable
# We need to install the dependencies for the benchmark apps # We need to install the dependencies for the benchmark apps
......
...@@ -52,10 +52,11 @@ jobs: ...@@ -52,10 +52,11 @@ jobs:
next-version: ${{ steps.version.outputs.value }} next-version: ${{ steps.version.outputs.value }}
steps: steps:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup pnpm - name: Setup pnpm
run: | run: |
...@@ -63,7 +64,7 @@ jobs: ...@@ -63,7 +64,7 @@ jobs:
corepack enable corepack enable
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 25 fetch-depth: 25
...@@ -98,7 +99,7 @@ jobs: ...@@ -98,7 +99,7 @@ jobs:
fi fi
- name: Upload test timings - name: Upload test timings
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: test-timings name: test-timings
path: test-timings.json path: test-timings.json
...@@ -231,13 +232,13 @@ jobs: ...@@ -231,13 +232,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Report test results to datadog name: Report test results to datadog
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
sparse-checkout: | sparse-checkout: |
.github .github
- name: Download test report artifacts - name: Download test report artifacts
uses: actions/download-artifact@v4 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
pattern: test-reports-* pattern: test-reports-*
path: test path: test
...@@ -274,7 +275,7 @@ jobs: ...@@ -274,7 +275,7 @@ jobs:
continue-on-error: true continue-on-error: true
env: env:
GITHUB_TOKEN: ${{ secrets.GH_UPDATE_NEXT_WORKFLOW_TRIGGER }} GITHUB_TOKEN: ${{ secrets.GH_UPDATE_NEXT_WORKFLOW_TRIGGER }}
- uses: actions/github-script@v7 - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
name: Check if target workflow is enabled name: Check if target workflow is enabled
id: check-workflow-enabled id: check-workflow-enabled
with: with:
...@@ -297,7 +298,7 @@ jobs: ...@@ -297,7 +298,7 @@ jobs:
console.info(`Target workflow enabled: ${isEnabled}`); console.info(`Target workflow enabled: ${isEnabled}`);
return isEnabled ? 'true' : 'false'; return isEnabled ? 'true' : 'false';
- uses: actions/github-script@v7 - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
name: Create draft PR for vercel/${{ matrix.repo }} name: Create draft PR for vercel/${{ matrix.repo }}
id: create-draft-pr id: create-draft-pr
if: steps.check-workflow-enabled.outputs.result == 'true' if: steps.check-workflow-enabled.outputs.result == 'true'
...@@ -348,7 +349,7 @@ jobs: ...@@ -348,7 +349,7 @@ jobs:
continue-on-error: true continue-on-error: true
env: env:
GITHUB_TOKEN: ${{ secrets.GH_UPDATE_NEXT_WORKFLOW_TRIGGER }} GITHUB_TOKEN: ${{ secrets.GH_UPDATE_NEXT_WORKFLOW_TRIGGER }}
- uses: actions/github-script@v7 - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
name: Check if target workflow is enabled name: Check if target workflow is enabled
id: check-workflow-enabled id: check-workflow-enabled
with: with:
...@@ -376,7 +377,7 @@ jobs: ...@@ -376,7 +377,7 @@ jobs:
console.error('Error checking workflow status:', error); console.error('Error checking workflow status:', error);
return 'false'; return 'false';
} }
- uses: actions/github-script@v7 - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
name: Mark PR ready for review in vercel/${{ matrix.repo }} name: Mark PR ready for review in vercel/${{ matrix.repo }}
id: mark-pr-ready id: mark-pr-ready
if: steps.check-workflow-enabled.outputs.result == 'true' if: steps.check-workflow-enabled.outputs.result == 'true'
......
...@@ -27,10 +27,11 @@ jobs: ...@@ -27,10 +27,11 @@ jobs:
if: github.repository_owner == 'vercel' if: github.repository_owner == 'vercel'
steps: steps:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup pnpm - name: Setup pnpm
run: | run: |
...@@ -38,7 +39,7 @@ jobs: ...@@ -38,7 +39,7 @@ jobs:
corepack enable corepack enable
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 25 fetch-depth: 25
......
...@@ -27,7 +27,7 @@ jobs: ...@@ -27,7 +27,7 @@ jobs:
matrix: matrix:
node: [20, 22] node: [20, 22]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 25 fetch-depth: 25
# https://github.com/actions/virtual-environments/issues/1187 # https://github.com/actions/virtual-environments/issues/1187
...@@ -35,10 +35,11 @@ jobs: ...@@ -35,10 +35,11 @@ jobs:
run: sudo ethtool -K eth0 tx off rx off run: sudo ethtool -K eth0 tx off rx off
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: 20 node-version: 20
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
npm i -g corepack@0.31 npm i -g corepack@0.31
......
...@@ -23,7 +23,7 @@ jobs: ...@@ -23,7 +23,7 @@ jobs:
github.event.issue.type.name != 'Documentation' github.event.issue.type.name != 'Documentation'
}} }}
steps: steps:
- uses: balazsorban44/nissuer@1.10.0 - uses: balazsorban44/nissuer@92ef22afd6a75e5e588f5d689a1fd3433f596f82 # 1.10.0
with: with:
label-area-prefix: '' label-area-prefix: ''
label-area-match: 'name' label-area-match: 'name'
...@@ -38,7 +38,7 @@ jobs: ...@@ -38,7 +38,7 @@ jobs:
} }
reproduction-comment: '.github/comments/invalid-link.md' reproduction-comment: '.github/comments/invalid-link.md'
reproduction-hosts: 'github.com,bitbucket.org,gitlab.com,codesandbox.io,stackblitz.com' reproduction-hosts: 'github.com,bitbucket.org,gitlab.com,codesandbox.io,stackblitz.com'
reproduction-blocklist: 'github.com/vercel/next.js.*,github.com/\\w*/?$,github.com$' reproduction-blocklist: 'github.com/vercel/next.js.*,github.com/\w*/?$,github.com$'
reproduction-link-section: '### Link to the code that reproduces this issue(.*)### To Reproduce' reproduction-link-section: '### Link to the code that reproduces this issue(.*)### To Reproduce'
reproduction-invalid-label: 'invalid link' reproduction-invalid-label: 'invalid link'
reproduction-issue-labels: 'bug,' reproduction-issue-labels: 'bug,'
......
...@@ -47,14 +47,15 @@ jobs: ...@@ -47,14 +47,15 @@ jobs:
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: 20 node-version: 20
check-latest: true check-latest: true
package-manager-cache: false
- name: Create GitHub App token - name: Create GitHub App token
id: release-app-token id: release-app-token
uses: actions/create-github-app-token@v3 uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with: with:
client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }} client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }} private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }}
...@@ -111,7 +112,7 @@ jobs: ...@@ -111,7 +112,7 @@ jobs:
- id: get-store-path - id: get-store-path
run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT
- uses: actions/cache@v4 - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
timeout-minutes: 5 timeout-minutes: 5
id: cache-pnpm-store id: cache-pnpm-store
with: with:
......
...@@ -33,18 +33,18 @@ jobs: ...@@ -33,18 +33,18 @@ jobs:
name: Benchmark Rust Crates (small apps) name: Benchmark Rust Crates (small apps)
runs-on: ubuntu-latest-16-core-oss runs-on: ubuntu-latest-16-core-oss
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Rust toolchain - name: Setup Rust toolchain
uses: ./.github/actions/setup-rust uses: ./.github/actions/setup-rust
- name: Install cargo-codspeed - name: Install cargo-codspeed
uses: taiki-e/install-action@v2 uses: taiki-e/install-action@7627fb428e65e78e2ec9a24ae5c5bd5f8553f182 # v2.69.10
with: with:
tool: cargo-codspeed@3.0.5 tool: cargo-codspeed@3.0.5
- name: Cache on ${{ github.ref_name }} - name: Cache on ${{ github.ref_name }}
uses: ijjk/rust-cache@turbo-cache-v1.0.9 uses: ijjk/rust-cache@a34594c450817c9860143c79797a8770c4e587f5 # turbo-cache-v1.0.9
with: with:
save-if: 'true' save-if: 'true'
cache-provider: 'turbo' cache-provider: 'turbo'
...@@ -63,7 +63,7 @@ jobs: ...@@ -63,7 +63,7 @@ jobs:
run: cargo codspeed build -p turbopack-cli small_apps run: cargo codspeed build -p turbopack-cli small_apps
- name: Run the benchmarks - name: Run the benchmarks
uses: CodSpeedHQ/action@v4 uses: CodSpeedHQ/action@1c8ae4843586d3ba879736b7f6b7b0c990757fab # v4.12.1
with: with:
mode: instrumentation mode: instrumentation
run: cargo codspeed run -p turbopack-cli small_apps run: cargo codspeed run -p turbopack-cli small_apps
...@@ -73,18 +73,18 @@ jobs: ...@@ -73,18 +73,18 @@ jobs:
name: Benchmark Rust Crates (analyzer) name: Benchmark Rust Crates (analyzer)
runs-on: ubuntu-latest-16-core-oss runs-on: ubuntu-latest-16-core-oss
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Rust toolchain - name: Setup Rust toolchain
uses: ./.github/actions/setup-rust uses: ./.github/actions/setup-rust
- name: Install cargo-codspeed - name: Install cargo-codspeed
uses: taiki-e/install-action@v2 uses: taiki-e/install-action@7627fb428e65e78e2ec9a24ae5c5bd5f8553f182 # v2.69.10
with: with:
tool: cargo-codspeed@3.0.5 tool: cargo-codspeed@3.0.5
- name: Cache on ${{ github.ref_name }} - name: Cache on ${{ github.ref_name }}
uses: ijjk/rust-cache@turbo-cache-v1.0.9 uses: ijjk/rust-cache@a34594c450817c9860143c79797a8770c4e587f5 # turbo-cache-v1.0.9
with: with:
save-if: 'true' save-if: 'true'
cache-provider: 'turbo' cache-provider: 'turbo'
...@@ -103,7 +103,7 @@ jobs: ...@@ -103,7 +103,7 @@ jobs:
run: cargo codspeed build -p turbopack-ecmascript references run: cargo codspeed build -p turbopack-ecmascript references
- name: Run the benchmarks - name: Run the benchmarks
uses: CodSpeedHQ/action@v4 uses: CodSpeedHQ/action@1c8ae4843586d3ba879736b7f6b7b0c990757fab # v4.12.1
with: with:
mode: instrumentation mode: instrumentation
run: cargo codspeed run -p turbopack-ecmascript references run: cargo codspeed run -p turbopack-ecmascript references
...@@ -114,13 +114,13 @@ jobs: ...@@ -114,13 +114,13 @@ jobs:
if: ${{ github.event.label.name == 'benchmark' || github.event_name == 'workflow_dispatch' }} if: ${{ github.event.label.name == 'benchmark' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest-16-core-oss runs-on: ubuntu-latest-16-core-oss
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Rust toolchain - name: Setup Rust toolchain
uses: ./.github/actions/setup-rust uses: ./.github/actions/setup-rust
- name: Install cargo-codspeed - name: Install cargo-codspeed
uses: taiki-e/install-action@v2 uses: taiki-e/install-action@7627fb428e65e78e2ec9a24ae5c5bd5f8553f182 # v2.69.10
with: with:
tool: cargo-codspeed@3.0.5 tool: cargo-codspeed@3.0.5
...@@ -130,7 +130,7 @@ jobs: ...@@ -130,7 +130,7 @@ jobs:
run: cargo codspeed build -p turbopack -p turbopack-bench run: cargo codspeed build -p turbopack -p turbopack-bench
- name: Run the benchmarks - name: Run the benchmarks
uses: CodSpeedHQ/action@v4 uses: CodSpeedHQ/action@1c8ae4843586d3ba879736b7f6b7b0c990757fab # v4.12.1
with: with:
mode: instrumentation mode: instrumentation
run: cargo codspeed run run: cargo codspeed run
......
...@@ -14,17 +14,18 @@ jobs: ...@@ -14,17 +14,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
...@@ -50,17 +51,18 @@ jobs: ...@@ -50,17 +51,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
......
...@@ -16,17 +16,18 @@ jobs: ...@@ -16,17 +16,18 @@ jobs:
if: github.repository_owner == 'vercel' if: github.repository_owner == 'vercel'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
......
...@@ -22,7 +22,7 @@ jobs: ...@@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
...@@ -34,10 +34,11 @@ jobs: ...@@ -34,10 +34,11 @@ jobs:
git config user.email "it+nextjs-bot@vercel.com" git config user.email "it+nextjs-bot@vercel.com"
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
......
...@@ -19,13 +19,14 @@ jobs: ...@@ -19,13 +19,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup corepack - name: Setup corepack
run: | run: |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment