From 7082c6e26f269f4eff114206f065b977c0efd95a Mon Sep 17 00:00:00 2001 From: Banjo Fox Date: Tue, 22 Aug 2023 18:44:05 -0400 Subject: [PATCH] Try to make workflows dependant --- .github/workflows/aardwolf-build.yml | 1 + .github/workflows/aardwolf-test.yml | 16 +++++++--------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/aardwolf-build.yml b/.github/workflows/aardwolf-build.yml index 661a6a2d..ab0d8728 100644 --- a/.github/workflows/aardwolf-build.yml +++ b/.github/workflows/aardwolf-build.yml @@ -4,6 +4,7 @@ on: branches: - "**/*" pull_request: + workflow_call: concurrency: group: "${{ github.ref }}" diff --git a/.github/workflows/aardwolf-test.yml b/.github/workflows/aardwolf-test.yml index 9b66b042..4859181d 100644 --- a/.github/workflows/aardwolf-test.yml +++ b/.github/workflows/aardwolf-test.yml @@ -1,18 +1,16 @@ name: Aardwolf-Social/test on: - workflow_run: - workflows: ["Aardwolf-Social/build"] - branches: + push: + branches: - "**/*" - types: - - completed + pull_request: jobs: Test-Aardwolf-Build: runs-on: ubuntu-latest - steps: - - - name: Cargo test aardwolf - run: cargo test --all --verbose \ No newline at end of file + - uses: ./.github/workflows/aardwolf-build.yml + + - name: Cargo test aardwolf + run: cargo test --all --verbose \ No newline at end of file