mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-03-15 06:19:00 +00:00
ci: separate checking outputs from building them
This commit is contained in:
parent
6fe30acf2b
commit
2f34656ee7
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -5,18 +5,6 @@ env:
|
|||||||
NIXPKGS_ALLOW_BROKEN: "1"
|
NIXPKGS_ALLOW_BROKEN: "1"
|
||||||
NIXPKGS_ALLOW_UNFREE: "1"
|
NIXPKGS_ALLOW_UNFREE: "1"
|
||||||
jobs:
|
jobs:
|
||||||
check-outputs:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: cachix/install-nix-action@v16
|
|
||||||
with:
|
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
|
||||||
extra_nix_config: |
|
|
||||||
keep-going = true
|
|
||||||
- name: Check flake outputs
|
|
||||||
run: nix flake check --impure
|
|
||||||
|
|
||||||
build-custom-packages:
|
build-custom-packages:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
19
.github/workflows/check.yml
vendored
Normal file
19
.github/workflows/check.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: "Check flake outputs"
|
||||||
|
on: [pull_request, push]
|
||||||
|
env:
|
||||||
|
NIXPKGS_ALLOW_INSECURE: "1"
|
||||||
|
NIXPKGS_ALLOW_BROKEN: "1"
|
||||||
|
NIXPKGS_ALLOW_UNFREE: "1"
|
||||||
|
jobs:
|
||||||
|
check-outputs:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: cachix/install-nix-action@v16
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
|
extra_nix_config: |
|
||||||
|
keep-going = true
|
||||||
|
- name: Check flake outputs
|
||||||
|
run: nix flake check --impure
|
||||||
|
|
Loading…
Reference in New Issue
Block a user