test ci 4
Some checks are pending
Test, build and push caches / build (push) Blocked by required conditions

This commit is contained in:
L-Nafaryus 2024-05-02 16:38:57 +05:00
parent 7a2ace9645
commit d54985f1b2
Signed by: L-Nafaryus
GPG Key ID: 582F8B0866B294A1

View File

@ -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