Skip to content

Commit

Permalink
Workflow updates
Browse files Browse the repository at this point in the history
  • Loading branch information
smu160 committed Jun 26, 2023
1 parent 3bed97e commit b346049
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
args: --all -- --check

combo:
name: Clippy + rustfmt
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand All @@ -60,18 +60,10 @@ jobs:
profile: minimal
toolchain: nightly
override: true
components: rustfmt, clippy

- name: Run cargo fmt
uses: actions-rs/cargo@v1
continue-on-error: true # WARNING: only for this example, remove it!
with:
command: fmt
args: --all -- --check

- name: Run cargo clippy
- name: Run cargo test
uses: actions-rs/cargo@v1
continue-on-error: true # WARNING: only for this example, remove it!
with:
command: clippy
args: -- -D warnings
command: test
args: cargo test

0 comments on commit b346049

Please sign in to comment.