Unverified Commit a84d7476 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix missing turbo command for rust-check (#76851)

Ensures we use the new turbo command for global turbo without repo
dependencies being installed.

x-ref:
https://github.com/vercel/next.js/actions/runs/13688466017/job/38277118036?pr=76849
parent be31c44f
...@@ -351,7 +351,7 @@ jobs: ...@@ -351,7 +351,7 @@ jobs:
- name: cache build - name: cache build
if: ${{ matrix.settings.docker && steps.build-exists.outputs.BUILD_EXISTS == 'no' }} if: ${{ matrix.settings.docker && steps.build-exists.outputs.BUILD_EXISTS == 'no' }}
run: pnpm turbo run cache-build-native --force -- ${{ matrix.settings.target }} run: pnpm dlx turbo@${TURBO_VERSION} run cache-build-native --force -- ${{ matrix.settings.target }}
- name: 'Build' - name: 'Build'
run: ${{ matrix.settings.build }} run: ${{ matrix.settings.build }}
......
...@@ -137,7 +137,7 @@ jobs: ...@@ -137,7 +137,7 @@ jobs:
needsRust: 'yes' needsRust: 'yes'
needsNextest: 'yes' needsNextest: 'yes'
skipNativeBuild: 'yes' skipNativeBuild: 'yes'
afterBuild: turbo run test-cargo-unit afterBuild: pnpm dlx turbo@${TURBO_VERSION} run test-cargo-unit
mold: 'yes' mold: 'yes'
stepName: 'test-cargo-unit' stepName: 'test-cargo-unit'
secrets: inherit secrets: inherit
...@@ -160,7 +160,7 @@ jobs: ...@@ -160,7 +160,7 @@ jobs:
needsRust: 'yes' needsRust: 'yes'
skipInstallBuild: 'yes' skipInstallBuild: 'yes'
skipNativeBuild: 'yes' skipNativeBuild: 'yes'
afterBuild: turbo run rust-check afterBuild: pnpm dlx turbo@${TURBO_VERSION} run rust-check
stepName: 'rust-check' stepName: 'rust-check'
secrets: inherit secrets: inherit
...@@ -311,7 +311,7 @@ jobs: ...@@ -311,7 +311,7 @@ jobs:
uses: ./.github/workflows/build_reusable.yml uses: ./.github/workflows/build_reusable.yml
with: with:
afterBuild: rustup target add wasm32-unknown-unknown && curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh && node ./scripts/normalize-version-bump.js && turbo run build-wasm -- --target nodejs && git checkout . && mv crates/wasm/pkg crates/wasm/pkg-nodejs && node ./scripts/setup-wasm.mjs && NEXT_TEST_MODE=start TEST_WASM=true node run-tests.js test/production/pages-dir/production/test/index.test.ts test/e2e/streaming-ssr/index.test.ts afterBuild: rustup target add wasm32-unknown-unknown && curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh && node ./scripts/normalize-version-bump.js && pnpm dlx turbo@${TURBO_VERSION} run build-wasm -- --target nodejs && git checkout . && mv crates/wasm/pkg crates/wasm/pkg-nodejs && node ./scripts/setup-wasm.mjs && NEXT_TEST_MODE=start TEST_WASM=true node run-tests.js test/production/pages-dir/production/test/index.test.ts test/e2e/streaming-ssr/index.test.ts
stepName: 'test-next-swc-wasm' stepName: 'test-next-swc-wasm'
secrets: inherit secrets: inherit
...@@ -327,7 +327,7 @@ jobs: ...@@ -327,7 +327,7 @@ jobs:
uses: ./.github/workflows/build_reusable.yml uses: ./.github/workflows/build_reusable.yml
with: with:
afterBuild: rustup target add wasm32-wasip1-threads && turbo run build-native-wasi afterBuild: rustup target add wasm32-wasip1-threads && pnpm dlx turbo@${TURBO_VERSION} run build-native-wasi
stepName: 'test-next-swc-napi-wasi' stepName: 'test-next-swc-napi-wasi'
secrets: inherit secrets: inherit
......
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