Skip to content

Commit

Permalink
ci: add github action nix flake check
Browse files Browse the repository at this point in the history
  • Loading branch information
rgoulter committed Jun 10, 2024
1 parent 02bb16f commit 1d4a66f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/nix-flake-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Nix Flake Check

on:
push:
branches:
- master
pull_request:
branches:
- '*'

jobs:
check:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
# - macos-latest
# - macos-13

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Nix
uses: DeterminateSystems/nix-installer-action@main

- name: Run Nix Flake Check
run: nix flake check

0 comments on commit 1d4a66f

Please sign in to comment.