Split job

This commit is contained in:
Joel Wachsler 2022-07-10 15:35:18 +00:00
parent 6263118864
commit 7803ade2f1

View File

@ -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