Separate workflow into "check" and "build"
This commit is contained in:
parent
595aaa8170
commit
9b0db32c9d
9
.github/workflows/rust.yml
vendored
9
.github/workflows/rust.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user