Skip to content

Commit

Permalink
ci: replace audit-rs with cargo cli
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianLars committed Nov 15, 2023
1 parent c718488 commit 8f9b0d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,5 @@ jobs:
with:
components: rustfmt

- uses: actions-rs/cargo@v1
with:
command: fmt
args: --manifest-path=Cargo.toml --all -- --check
- name: Run formatter
run: cargo fmt --manifest-path=Cargo.toml --all -- --check
7 changes: 2 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,5 @@ jobs:
with:
components: clippy

- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --manifest-path=Cargo.toml --all-targets --all-features -- -D warnings
name: clippy
- name: Run clippy
run: cargo clippy --manifest-path=Cargo.toml --all-targets --all-features -- -D warnings
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,4 @@ jobs:
uses: Swatinem/rust-cache@v2

- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path=Cargo.toml --release
run: cargo test --manifest-path=Cargo.toml --release

0 comments on commit 8f9b0d7

Please sign in to comment.