enable auto PRs and checks

This commit is contained in:
Noah Masur
2023-07-29 15:20:14 -04:00
parent 200f790ea1
commit b589ba5d8a
5 changed files with 75 additions and 6 deletions

21
.github/workflows/check.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Check Build
on:
workflow_dispatch: # allows manual triggering
pull_request:
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Check Nixpkgs Inputs
uses: DeterminateSystems/flake-checker-action@v5
- name: Add Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Check the Flake
run: nix flake check