Skip to content

Commit

Permalink
workflows: add nix build
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Nov 8, 2024
1 parent baf9b7f commit 9f5dc4d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/nix_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Check Nix Build

on:
push:
branches: [main]
pull_request:
branches: [main]

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

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Nix
run: curl -L https://nixos.org/nix/install | sh

- name: Set up Nix environment
run: |
. "$HOME/.nix-profile/etc/profile.d/nix.sh"
nix-shell -p nixpkgs.nix
- name: Run Nix Build
run: nix build

0 comments on commit 9f5dc4d

Please sign in to comment.