.github/workflows: fix failing CI with pipe-operators requirement #52
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: Exhaustive Flake Test | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- staging | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
outputs: [ | |
'nixosConfigurations.LAPTOP-3DT4F02.config.system.build.toplevel', | |
'nixosConfigurations.DESKTOP-3DT4F02.config.system.build.toplevel', | |
'nixosConfigurations.ISO-3DT4F02.config.system.build.isoImage' | |
] | |
steps: | |
- name: Free Disk Space | |
uses: jlumbroso/free-disk-space@v1.3.1 | |
- name: Checkout Repository | |
uses: actions/checkout@v4.2.2 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v30 | |
with: | |
extra_nix_config: | | |
allow-import-from-derivation = false | |
eval-cache = false | |
extra-experimental-features = pipe-operators | |
- run: | |
nix flake check | |
- run: | |
nix build '.#${{ matrix.outputs }}' |