mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
ci(flake): collect nix-flake-show, remove nix-flake-check (nix-github-actions already do this)
This commit is contained in:
parent
3f76088b2d
commit
ce3a7b1f50
1 changed files with 2 additions and 20 deletions
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue