mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-24 17:23:09 +01:00
ci: ensure packages build successfully
Helps prevent broken URLs from breaking the build.
This commit is contained in:
parent
2b23c6a931
commit
634208253a
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user