Skip to content

Commit

Permalink
[ci] Disable clippy + wasm in ci
Browse files Browse the repository at this point in the history
This will still the tests against wasm, but clippy is disabled
until further notice. This can be turned back on the next time
we get an update to cargo.

See rust-lang/rust-clippy#6140
  • Loading branch information
cmyr committed Oct 9, 2020
1 parent f22b911 commit 1dd2efa
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,26 +179,30 @@ jobs:
override: true

# Clippy wasm32 relevant packages in deeper-to-higher dependency order
- name: cargo clippy druid-shell
- name: cargo clippy druid-shell (wasm)
if: false # FIXME: reenable clippy when rustc >= 1.47.1
uses: actions-rs/cargo@v1
with:
command: clippy
args: --manifest-path=druid-shell/Cargo.toml --all-targets --target wasm32-unknown-unknown -- -D warnings

- name: cargo clippy druid
- name: cargo clippy druid (wasm)
if: false
uses: actions-rs/cargo@v1
with:
command: clippy
# TODO: Add svg feature when it's no longer broken with wasm
args: --manifest-path=druid/Cargo.toml --all-targets --features=image,im --target wasm32-unknown-unknown -- -D warnings

- name: cargo clippy druid-derive
- name: cargo clippy druid-derive (wasm)
if: false
uses: actions-rs/cargo@v1
with:
command: clippy
args: --manifest-path=druid-derive/Cargo.toml --all-targets --target wasm32-unknown-unknown -- -D warnings

- name: cargo clippy book examples
- name: cargo clippy book examples (wasm)
if: false
uses: actions-rs/cargo@v1
with:
command: clippy
Expand Down

0 comments on commit 1dd2efa

Please sign in to comment.