Separate workflow into "check" and "build"

This commit is contained in:
August 2024-09-30 14:01:02 -04:00
parent 595aaa8170
commit 9b0db32c9d
Signed by: shibedrill
GPG Key ID: 5FE0CB25945EFAA2

View File

@ -10,7 +10,7 @@ env:
CARGO_TERM_COLOR: always
jobs:
build:
check:
runs-on: ubuntu-latest
@ -20,6 +20,13 @@ jobs:
run: cargo check
- name: Clippy
run: cargo clippy
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build
- name: Run tests