Skip to content

Commit

Permalink
add check for nix dev shell
Browse files Browse the repository at this point in the history
  • Loading branch information
awwpotato committed Dec 10, 2024
1 parent 68a83c4 commit d82611f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
push:
paths:
- 'flake.nix'

jobs:
nix-check:
name: Check Nix Dev Shell
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: https://github.com/DeterminateSystems/nix-installer-action@v12
- name: Magic Nix Cache
uses: https://github.com/DeterminateSystems/magic-nix-cache-action@v7
- name: Check
run: nix flake check -L

0 comments on commit d82611f

Please sign in to comment.