From 7803ade2f1877a7ef73f95309673138f7d2f9b6b Mon Sep 17 00:00:00 2001 From: Joel Wachsler Date: Sun, 10 Jul 2022 15:35:18 +0000 Subject: [PATCH] Split job --- .github/workflows/ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65b1359..e8a4210 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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