Skip to content

Commit

Permalink
feat: add CI workflow to check flake
Browse files Browse the repository at this point in the history
  • Loading branch information
oddlama committed Nov 25, 2024
1 parent bc551e2 commit 20799df
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/check-flake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Check Nix Flake
on:
push:
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
flake-check:
name: Check Nix Flake
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Setup Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check Nix Flake
shell: bash
run: nix flake check

0 comments on commit 20799df

Please sign in to comment.