Skip to content

Commit

Permalink
Add nix build CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TheArcaneBrony committed Feb 19, 2024
1 parent cde9239 commit 59b6f0c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/nix-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Nix build

on:
push:
pull_request:

jobs:
build-nix:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: DeterminateSystems/magic-nix-cache-action@v2
- run: nix build
- run: nix-shell --run "echo OK"

0 comments on commit 59b6f0c

Please sign in to comment.