mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-28 05:52:21 +03:00
ci: check formatting
This commit is contained in:
parent
c608d46a56
commit
a29e71ec49
@ -8,6 +8,11 @@ matrix:
|
|||||||
install: true
|
install: true
|
||||||
script: cargo build --manifest-path crates/cli/Cargo.toml
|
script: cargo build --manifest-path crates/cli/Cargo.toml
|
||||||
|
|
||||||
|
# check formatting
|
||||||
|
- rust: nightly
|
||||||
|
before_install: rustup component add rustfmt-preview --toolchain nightly
|
||||||
|
script: cargo fmt -- --check
|
||||||
|
|
||||||
# Tests pass on nightly
|
# Tests pass on nightly
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
before_install:
|
before_install:
|
||||||
@ -41,6 +46,7 @@ matrix:
|
|||||||
# Check JS output from all tests against eslint
|
# Check JS output from all tests against eslint
|
||||||
- ./node_modules/.bin/eslint ./target/generated-tests/*/out*.js
|
- ./node_modules/.bin/eslint ./target/generated-tests/*/out*.js
|
||||||
env: RUST_BACKTRACE=1
|
env: RUST_BACKTRACE=1
|
||||||
|
|
||||||
# WebIDL tests pass on nightly
|
# WebIDL tests pass on nightly
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
before_install: rustup component add rustfmt-preview --toolchain nightly
|
before_install: rustup component add rustfmt-preview --toolchain nightly
|
||||||
|
Loading…
Reference in New Issue
Block a user