1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-05-15 14:37:45 +00:00
physis/.github/workflows/main.yml
Joshua Goins 2f48964b99 Nevermind, you can't do something like that with Actiobs
We must use a separate checkout for each parallel step
2024-04-28 07:24:28 -04:00

31 lines
504 B
YAML

name: Main
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
reuse:
runs-on: ubuntu-latest
needs: checkout
steps:
- uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v3
build:
runs-on: ubuntu-latest
needs: checkout
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose