From 17815b3441599874ebd447b479ffec246a9dc04c Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 28 Apr 2024 07:19:58 -0400 Subject: [PATCH] Separate out jobs in workflow --- .github/workflows/main.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 33118bb..07fad70 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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