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:
|
||||
push:
|
||||
jobs:
|
||||
tests:
|
||||
checkout:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: nix build -L
|
||||
- run: nix flake check -L --all-systems
|
||||
check_flurry_package:
|
||||
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