Skip to content

Commit

Permalink
ci: add nix build action
Browse files Browse the repository at this point in the history
  • Loading branch information
youwen5 committed Nov 17, 2024
1 parent a377496 commit ab5ae09
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build-nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
pull_request:
push:
branches: [main]

jobs:
lints:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check flake inputs
uses: DeterminateSystems/flake-checker-action@v4 # This action
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- run: nix build .

0 comments on commit ab5ae09

Please sign in to comment.