Skip to content

Commit

Permalink
ci: change lint job
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed Mar 29, 2021
1 parent 9b74a2d commit c74c033
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,21 @@ jobs:
with:
fetch-depth: 1

- name: Add target wasm32-unknown-unknown
run: rustup target add wasm32-unknown-unknown
# - name: Add target wasm32-unknown-unknown
# run: rustup target add wasm32-unknown-unknown

- name: Install Node.js dependencies
run: npm install

- name: Add components clippy and rustfmt
run: rustup component add clippy rustfmt
- name: Install Rust nightly with target wasm32-unknown-unknown and components clippy, rustfmt
run: |
rustup toolchain install nightly \
--target wasm32-unknown-unknown \
--component clippy \
--component rustfmt
# - name: Add components clippy and rustfmt
# run: rustup component add clippy rustfmt

- name: Run lint
run: |
Expand Down

0 comments on commit c74c033

Please sign in to comment.