Skip to content

Commit

Permalink
Speed up CI
Browse files Browse the repository at this point in the history
  • Loading branch information
andschneider committed Apr 12, 2023
1 parent 4da1ec6 commit b76c687
Showing 1 changed file with 10 additions and 30 deletions.
40 changes: 10 additions & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,6 @@ jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Sync Rustup toolchain
run: rustup show

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

test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Sync Rustup toolchain
run: rustup show

- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test

lints:
name: Lints
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand All @@ -54,8 +24,18 @@ jobs:
command: fmt
args: --all -- --check

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

- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings

- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test

0 comments on commit b76c687

Please sign in to comment.