Skip to content

Commit

Permalink
Update CI Github Action (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
andschneider authored Feb 26, 2024
1 parent 5b637b6 commit 8f325d4
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Based on https://github.com/actions-rs/example/blob/master/.github/workflows/quickstart.yml

name: CI

on:
Expand All @@ -19,21 +17,10 @@ jobs:
run: rustup show

- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check

- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
run: cargo fmt --all -- --check

- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
run: cargo clippy --all-features --all-targets --workspace --locked -- --deny warnings

tests:
name: Run tests
Expand All @@ -46,6 +33,4 @@ jobs:
run: rustup show

- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
run: cargo test --all-features --all-targets --workspace --locked

0 comments on commit 8f325d4

Please sign in to comment.