Skip to content

Commit

Permalink
Update CI to new paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Feb 29, 2024
1 parent 451ecee commit 222859e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/validation-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --manifest-path rust/Cargo.toml -- -D warnings
- run: cargo clippy -- -D warnings

test:
strategy:
Expand All @@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
- run: cargo test --manifest-path rust/Cargo.toml
- run: cargo test

mtr:
name: Run mtr integration tests
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --manifest-path rust/Cargo.toml --all -- --check
- run: cargo fmt --all -- --check

audit:
name: Audit dependencies for security & license compatibility
Expand All @@ -134,8 +134,6 @@ jobs:
run: cd rust/ && cargo audit
- name: Audit dependency licenses with cargo-deny
uses: EmbarkStudios/cargo-deny-action@v1
with:
arguments: --manifest-path rust/Cargo.toml

# uses: rustsec/[email protected]
# with:
Expand All @@ -151,7 +149,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
# test docs for everything
- name: Test build all docs
run: cargo doc --manifest-path rust/Cargo.toml --no-deps
run: cargo doc --no-deps
# create docs for the crate we care about
- name: Build docs for publish
run: |
Expand Down

0 comments on commit 222859e

Please sign in to comment.