test ci 4
Some checks are pending
Test, build and push caches / build (push) Blocked by required conditions
Some checks are pending
Test, build and push caches / build (push) Blocked by required conditions
This commit is contained in:
parent
7a2ace9645
commit
d54985f1b2
@ -6,31 +6,19 @@ on:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v26
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
- run: nix flake check
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: "0"
|
||||
- uses: cachix/install-nix-action@v26
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
- run: nix flake check --accept-flake-config
|
||||
- uses: cachix/cachix-action@v14
|
||||
with:
|
||||
name: bonfire
|
||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||
- run: nix build -L
|
||||
- run: nix build -L --accept-flake-config
|
||||
|
Loading…
Reference in New Issue
Block a user