Skip to content

Commit

Permalink
Setup GHA concurrency (#1153)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsegal authored Nov 19, 2024
1 parent 0a2d554 commit f0e6bc2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
[ubuntu-latest-16-cores, macos-latest-xlarge, windows-latest-16-cores]
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}
cancel-in-progress: true

steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]

- run: git config --global core.autocrlf false

- name: Checkout qlty
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cli_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
build:
name: Build Release CLI
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }}
cancel-in-progress: true
steps:
- name: Checkout cloud
uses: actions/checkout@v4
Expand All @@ -51,6 +54,9 @@ jobs:
name: ${{ matrix.container }}
runs-on: ubuntu-latest
needs: build
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.container }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
[macos-latest-xlarge, ubuntu-latest-16-cores, windows-latest-16-cores]
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}
cancel-in-progress: true
defaults:
run:
shell: bash

steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]

- name: Checkout repo
uses: actions/checkout@v4

Expand Down

0 comments on commit f0e6bc2

Please sign in to comment.