Skip to content

Commit

Permalink
chore(ci): split up CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Piturnah committed Sep 1, 2023
1 parent dcb171a commit 28fcf01
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,30 @@ env:
CARGO_TERM_COLOR: always

jobs:
check:

Test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: clippy, rustfmt
override: true
- name: Test
run: cargo test

Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: clippy, rustfmt
override: true
- name: Clippy
run: cargo clippy -- -D warnings
- name: Format
Expand Down

0 comments on commit 28fcf01

Please sign in to comment.