Skip to content

Commit

Permalink
chore: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
quake committed May 18, 2021
1 parent ce4ca8e commit 5c2b2ca
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@ jobs:
- uses: actions/checkout@v2
- name: setup
run: |
rustup install stable-2020-06-18-x86_64-unknown-linux-gnu
rustup component add rustfmt --toolchain stable-2020-06-18-x86_64-unknown-linux-gnu
rustup component add clippy --toolchain stable-2020-06-18-x86_64-unknown-linux-gnu
rustup install 1.51.0
rustup component add rustfmt --toolchain 1.51.0
rustup component add clippy --toolchain 1.51.0
- name: style
run: cargo fmt -- --check
- name: clippy
run: cargo clippy --all-targets --all-features -- -D warnings

run: |
cargo clippy --all-targets --rayon -- -D warnings
cargo clippy --all-targets --raw-api -- -D warnings
cargo clippy --all-targets --serde -- -D warnings
cargo clippy --all-targets --parking_lot -- -D warnings
test:
runs-on: ubuntu-18.04
strategy:
Expand Down

0 comments on commit 5c2b2ca

Please sign in to comment.