flake.nix: factor out copy-paste of pcb packages #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nix Flake Check | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
check: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
# - macos-latest | |
# - macos-13 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Run Nix Flake Check | |
# devenv needs devenv-root | |
run: nix flake check --override-input devenv-root "file+file://"<(printf %s "$PWD") |