mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-01-10 15:42:39 +08:00
unify ci jobs
This commit is contained in:
parent
cd88d2f8d0
commit
9989dfc9e0
2 changed files with 5 additions and 31 deletions
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
|
@ -17,7 +17,6 @@ jobs:
|
|||
- uses: cachix/install-nix-action@v15
|
||||
with:
|
||||
nix_path: "${{ matrix.nixPath }}"
|
||||
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
|
||||
- name: Setup cachix
|
||||
uses: cachix/cachix-action@v10
|
||||
with:
|
||||
|
|
@ -29,6 +28,11 @@ jobs:
|
|||
- name: Run lint
|
||||
run: nix-build --no-out-link default.nix -A lint
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
- name: List flake structure
|
||||
run: nix flake show
|
||||
- name: Run flake check (flake)
|
||||
run: nix flake check -L
|
||||
# this should be the same as `nix flake check`
|
||||
- name: Build nix packages
|
||||
run: nix-build --no-out-link release.nix
|
||||
- name: Run unit tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue