mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-23 13:17:44 +00:00
Separate out jobs in workflow
This commit is contained in:
parent
6f5831e60d
commit
17815b3441
1 changed files with 15 additions and 4 deletions
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
|
@ -10,15 +10,26 @@ env:
|
|||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
checkout:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
reuse:
|
||||
runs-on: ubuntu-latest
|
||||
needs: checkout
|
||||
|
||||
steps:
|
||||
- name: REUSE Compliance Check
|
||||
uses: fsfe/reuse-action@v3
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
needs: checkout
|
||||
|
||||
steps:
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
- name: REUSE Compliance Check
|
||||
uses: fsfe/reuse-action@v3
|
||||
|
|
Loading…
Add table
Reference in a new issue