ci: dont run nix flake check either :'( #8
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: "Test" | |
on: | |
pull_request: | |
push: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
/nix/store | |
- uses: nixbuild/nix-quick-install-action@v28 | |
# - run: nix flake check | |
- run: nix flake show --json | | |
jq '.packages."x86_64-linux"|keys[]' | | |
xargs -I {} nix build .#{} | |
# - run: nix flake show --json | | |
# jq '.nixosConfigurations|keys[]' | | |
# xargs -I {} nix develop -c nixos-rebuild build --flake .#{} |