mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Make CI use the workspace, so we format/check all
This commit is contained in:
parent
87df7b9adf
commit
824e76ebe4
1 changed files with 2 additions and 6 deletions
8
.github/workflows/rust_checks.yml
vendored
8
.github/workflows/rust_checks.yml
vendored
|
@ -16,9 +16,7 @@ jobs:
|
|||
with:
|
||||
rust-version: stable
|
||||
- name: cargo fmt
|
||||
run: |
|
||||
cd fish-rust
|
||||
cargo fmt --check --all
|
||||
run: cargo fmt --check --all
|
||||
|
||||
clippy:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -37,6 +35,4 @@ jobs:
|
|||
run: |
|
||||
cmake -B build
|
||||
- name: cargo clippy
|
||||
run: |
|
||||
cd fish-rust
|
||||
cargo clippy --workspace --all-targets -- --deny=warnings
|
||||
run: cargo clippy --workspace --all-targets -- --deny=warnings
|
||||
|
|
Loading…
Reference in a new issue