Browse Source
Gate on "Check JS" action in CI (#8683)
Additionally add the necessary checks to cancel the rest of CI if it
fails.
pull/8686/head
Alex Crichton
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
7 additions and
0 deletions
-
.github/workflows/main.yml
|
@ -69,6 +69,12 @@ jobs: |
|
|
- run: npm run fmt-check |
|
|
- run: npm run fmt-check |
|
|
working-directory: ./crates/explorer |
|
|
working-directory: ./crates/explorer |
|
|
|
|
|
|
|
|
|
|
|
# common logic to cancel the entire run if this job fails |
|
|
|
|
|
- run: gh run cancel ${{ github.run_id }} |
|
|
|
|
|
if: failure() && github.event_name != 'pull_request' |
|
|
|
|
|
env: |
|
|
|
|
|
GH_TOKEN: ${{ github.token }} |
|
|
|
|
|
|
|
|
# Check Code style quickly by running `clang-format` over all the C/C++ code |
|
|
# Check Code style quickly by running `clang-format` over all the C/C++ code |
|
|
# |
|
|
# |
|
|
# Note that `wasmtime-platform.h` is excluded here as it's auto-generated. |
|
|
# Note that `wasmtime-platform.h` is excluded here as it's auto-generated. |
|
@ -1053,6 +1059,7 @@ jobs: |
|
|
- build-preview1-component-adapter |
|
|
- build-preview1-component-adapter |
|
|
- build-wasmtime-target-wasm32 |
|
|
- build-wasmtime-target-wasm32 |
|
|
- test-min-platform-example |
|
|
- test-min-platform-example |
|
|
|
|
|
- check_js |
|
|
if: always() |
|
|
if: always() |
|
|
steps: |
|
|
steps: |
|
|
- name: Successful test and build |
|
|
- name: Successful test and build |
|
|