Skip to content

Commit

Permalink
ci: github action
Browse files Browse the repository at this point in the history
  • Loading branch information
huuff committed Sep 20, 2024
1 parent e294af6 commit 544378f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/nix-flake-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check
on:
workflow_dispatch:
pull_request:
push:
branches: [master, main]

jobs:
nix-flake-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v17
with:
# Mostly to avoid GitHub rate limiting
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Check
run: nix flake check

0 comments on commit 544378f

Please sign in to comment.