flurry/.github/workflows/build_nix.yml
Noa Aarts 5c1e2354ba
workflows: add concurrency to nix (#30)
The worker may be able to do multiple nix flake things at the same time
2024-10-22 22:58:52 +02:00

23 lines
474 B
YAML

name: "build nix"
on:
pull_request:
push:
jobs:
checkout:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
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'