Split job
This commit is contained in:
parent
6263118864
commit
7803ade2f1
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -1,8 +1,7 @@
|
|||
on:
|
||||
- push
|
||||
jobs:
|
||||
check:
|
||||
name: Rust project
|
||||
lint:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -21,6 +20,15 @@ jobs:
|
|||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: clippy
|
||||
test:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install latest stable
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
components: rustfmt, clippy
|
||||
|
||||
- name: Run tests
|
||||
uses: actions-rs/cargo@v1
|
||||
|
|
Loading…
Reference in New Issue
Block a user