workflows: add concurrency to nix (#30)
The worker may be able to do multiple nix flake things at the same time
This commit is contained in:
parent
2ce725c76b
commit
5c1e2354ba
1 changed files with 15 additions and 3 deletions
18
.github/workflows/build_nix.yml
vendored
18
.github/workflows/build_nix.yml
vendored
|
|
@ -3,9 +3,21 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
checkout:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: nix build -L
|
check_flurry_package:
|
||||||
- run: nix flake check -L --all-systems
|
runs-on: self-hosted
|
||||||
|
steps:
|
||||||
|
- run: nix flake check -L --all-systems
|
||||||
|
build_flurry_package:
|
||||||
|
runs-on: self-hosted
|
||||||
|
needs: checkout
|
||||||
|
steps:
|
||||||
|
- run: nix build -L
|
||||||
|
build_flurry_shell:
|
||||||
|
runs-on: self-hosted
|
||||||
|
needs: checkout
|
||||||
|
steps:
|
||||||
|
- run: nix shell -L --command echo 'it works'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue