ci(flake): collect nix-flake-show, remove nix-flake-check (nix-github-actions already do this)

This commit is contained in:
Pegasust 2023-11-05 12:53:22 -08:00 committed by adisbladis
parent 3f76088b2d
commit ce3a7b1f50

View file

@ -59,25 +59,6 @@ jobs:
echo "NIXPKGS_SYSTEM=$(nix eval --raw 'nixpkgs#system')" >> "$GITHUB_ENV"
- run: nix build -L ".#devShells.${NIXPKGS_SYSTEM}.default" --keep-going
nix-flake-check:
# ensure flake-exposed derivations are correct
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
- uses: cachix/cachix-action@v12
with:
name: poetry2nix
signingKey: "VhaWuN3IyJVpWg+aZvTocVB+W8ziZKKRGLKR53Pkld3YRZxYOUfXZf0fvqF+LkqVW0eA60trVd5vsqNONpX9Hw=="
- name: check
run: nix flake check
nix-flake-show:
# ensure flake-exposed endpoints (apps, packages, devShells) are of correct types
# (something like apps.${SYSTEM}.<app> can be hard to get right)
@ -95,7 +76,7 @@ jobs:
with:
name: poetry2nix
signingKey: "VhaWuN3IyJVpWg+aZvTocVB+W8ziZKKRGLKR53Pkld3YRZxYOUfXZf0fvqF+LkqVW0eA60trVd5vsqNONpX9Hw=="
- run: nix flake show
- run: nix flake show --all-systems
test-template:
@ -150,5 +131,6 @@ jobs:
- nix-build
- nix-build-shell
- test-template
- nix-flake-show
steps:
- run: exit 0