ci: ensure packages build successfully

Helps prevent broken URLs from breaking the build.
This commit is contained in:
Donovan Glover 2024-11-06 15:36:39 -05:00
parent 2b23c6a931
commit 634208253a
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -7,6 +7,13 @@ on:
branches: [ master ] branches: [ master ]
jobs: jobs:
build:
name: nix build packages/*.nix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
- run: basename -s .nix packages/* | sed 's/.*/.#&/' | xargs nix build
test: test:
name: nix flake check --all-systems name: nix flake check --all-systems
runs-on: ubuntu-latest runs-on: ubuntu-latest