Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
Signed-off-by: ArchBlood <35392110+ArchBlood@users.noreply.github.com>
  • Loading branch information
ArchBlood authored Mar 28, 2024
1 parent 93be4fe commit 30a94f1
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,18 @@ jobs:
profile: minimal
toolchain: stable

- name: Check code formatting
run: cargo fmt -- --check --manifest-path=.Cargo.toml
working-directory: ${{ github.workspace }}

- name: Check for clippy warnings
run: cargo clippy -- -D warnings --manifest-path=.Cargo.toml
run: cargo clippy -- -D warnings
working-directory: ${{ github.workspace }}

- name: Run tests
run: cargo test --manifest-path=.Cargo.toml
run: cargo test
working-directory: ${{ github.workspace }}

- name: Audit dependencies
run: cargo audit --manifest-path=.Cargo.toml
run: cargo audit
working-directory: ${{ github.workspace }}

- name: Build release
run: cargo build --release --manifest-path=.Cargo.toml
run: cargo build --release
working-directory: ${{ github.workspace }}

0 comments on commit 30a94f1

Please sign in to comment.