Skip to content

Commit

Permalink
Add concurrency groups
Browse files Browse the repository at this point in the history
  • Loading branch information
4ever2 committed Oct 15, 2024
1 parent 2f758d4 commit 76cf9a2
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 15 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/nix-action-8.17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup au-cobra
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup au-cobra
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup au-cobra
Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup au-cobra
Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup au-cobra
Expand Down Expand Up @@ -321,10 +321,22 @@ name: Nix CI for bundle 8.17
pull_request_target:
paths-ignore:
- .github/workflows/nix-action-8.17.yml
- '**.md'
- '**.gitignore'
- '**.opam'
- '**.editorconfig'
- 'LICENSE'
- 'papers/**'
- 'extra/docker/**'
types:
- opened
- synchronize
- reopened
push:
branches:
- master
concurrency:
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref || github.ref }}"
cancel-in-progress: true
permissions:
contents: read
22 changes: 17 additions & 5 deletions .github/workflows/nix-action-8.18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup au-cobra
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup au-cobra
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup au-cobra
Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup au-cobra
Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup au-cobra
Expand Down Expand Up @@ -321,10 +321,22 @@ name: Nix CI for bundle 8.18
pull_request_target:
paths-ignore:
- .github/workflows/nix-action-8.18.yml
- '**.md'
- '**.gitignore'
- '**.opam'
- '**.editorconfig'
- 'LICENSE'
- 'papers/**'
- 'extra/docker/**'
types:
- opened
- synchronize
- reopened
push:
branches:
- master
concurrency:
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref || github.ref }}"
cancel-in-progress: true
permissions:
contents: read
22 changes: 17 additions & 5 deletions .github/workflows/nix-action-8.19.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup au-cobra
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup au-cobra
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup au-cobra
Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup au-cobra
Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup au-cobra
Expand Down Expand Up @@ -321,10 +321,22 @@ name: Nix CI for bundle 8.19
pull_request_target:
paths-ignore:
- .github/workflows/nix-action-8.19.yml
- '**.md'
- '**.gitignore'
- '**.opam'
- '**.editorconfig'
- 'LICENSE'
- 'papers/**'
- 'extra/docker/**'
types:
- opened
- synchronize
- reopened
push:
branches:
- master
concurrency:
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref || github.ref }}"
cancel-in-progress: true
permissions:
contents: read

0 comments on commit 76cf9a2

Please sign in to comment.