From b2dc3f9477c80094aa6a09f37e4d92b9b85a2071 Mon Sep 17 00:00:00 2001 From: Banjo Fox Date: Tue, 22 Aug 2023 20:08:44 -0400 Subject: [PATCH] Simplify more --- .github/workflows/aardwolf-build.yml | 9 ++++++--- .github/workflows/aardwolf-test.yml | 11 ++++++----- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/aardwolf-build.yml b/.github/workflows/aardwolf-build.yml index 990a80ba..e83b2007 100644 --- a/.github/workflows/aardwolf-build.yml +++ b/.github/workflows/aardwolf-build.yml @@ -1,9 +1,12 @@ -name: Aardwolf-Build +--- +name: Build on: push: branches: - - "**/*" + - "*" pull_request: + branches: + - main concurrency: group: "${{ github.ref }}" @@ -11,7 +14,7 @@ concurrency: jobs: - Build: + cargo-build: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/aardwolf-test.yml b/.github/workflows/aardwolf-test.yml index f3d05074..0c8b250b 100644 --- a/.github/workflows/aardwolf-test.yml +++ b/.github/workflows/aardwolf-test.yml @@ -1,16 +1,17 @@ -name: Aardwolf-Test +--- +name: Test + on: workflow_run: workflows: - - "Aardwolf-Build" + - Build types: - completed jobs: - - Test: + cargo-test: name: Cargo Test runs-on: ubuntu-latest steps: - - name: Cargo test aardwolf + - name: Cargo test Aardwolf run: cargo test --all --verbose \ No newline at end of file