Skip to content

Commit

Permalink
Merge pull request #293 from KisaragiEffective/ci/enforce-clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective authored Oct 19, 2023
2 parents 2968fde + be20623 commit c3a4501
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ jobs:
run: |
if [[ "${{ matrix.rustc_channel }}" == nightly ]]; then
rustup install nightly-${{ matrix.rustc_version }}
rustup component add clippy --toolchain nightly-${{ matrix.rustc_version }}
rustup override set nightly-${{ matrix.rustc_version }}
else
rustup install ${{ matrix.rustc_version }}
rustup component add clippy --toolchain ${{ matrix.rustc_version }}
rustup override set ${{ matrix.rustc_version }}
fi
rustup show
shell: bash
- name: Rust Cache
Expand All @@ -47,6 +49,8 @@ jobs:
# See rust-wasm.yml for CI details about those package
- name: Build package
run: cargo build --workspace --exclude origlang-interop --exclude origlang-interop-frontend-webserver --verbose
- name: Lint with clippy
run: cargo clippy --workspace --exclude origlang-interop --exclude origlang-interop-frontend-webserver --verbose
- name: Run tests
run: cargo test --workspace --exclude origlang-interop --exclude origlang-interop-frontend-webserver --verbose
- name: Run compile test
Expand Down

0 comments on commit c3a4501

Please sign in to comment.