From b4bfd17b72d27bca51bf55fbca98a77ce184629d Mon Sep 17 00:00:00 2001 From: Liam Heeger Date: Tue, 14 May 2024 22:54:21 +0000 Subject: [PATCH] ci: fix concurrency groups, and test it --- .github/workflows/test_firedancer.yml | 3 +++ .github/workflows/test_firedancer_testnet.yml | 3 +++ .github/workflows/test_ledgers.yml | 3 +++ .github/workflows/tests.yml | 3 +++ 4 files changed, 12 insertions(+) diff --git a/.github/workflows/test_firedancer.yml b/.github/workflows/test_firedancer.yml index a1e8d1def3..4022ade439 100644 --- a/.github/workflows/test_firedancer.yml +++ b/.github/workflows/test_firedancer.yml @@ -5,6 +5,9 @@ on: pull_request: types: [synchronize, opened, reopened, ready_for_review] merge_group: +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: firedancer-tests: runs-on: private diff --git a/.github/workflows/test_firedancer_testnet.yml b/.github/workflows/test_firedancer_testnet.yml index 34a0441da3..58aa54434b 100644 --- a/.github/workflows/test_firedancer_testnet.yml +++ b/.github/workflows/test_firedancer_testnet.yml @@ -4,6 +4,9 @@ on: workflow_dispatch: pull_request: types: [synchronize, opened, reopened, ready_for_review] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: firedancer-testnet: runs-on: private diff --git a/.github/workflows/test_ledgers.yml b/.github/workflows/test_ledgers.yml index 4188b81837..6247e6ed9d 100644 --- a/.github/workflows/test_ledgers.yml +++ b/.github/workflows/test_ledgers.yml @@ -5,6 +5,9 @@ on: pull_request: types: [synchronize, opened, reopened, ready_for_review] merge_group: +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: ledger-replay: runs-on: private diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6fae146917..3e5a679c71 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,6 +4,9 @@ name: Tests on: workflow_call: workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: test: strategy: