add github action

This commit is contained in:
Glen Goodwin 2023-11-06 02:06:50 -05:00
parent 9fa59c1ba2
commit 21c8871d4e

11
.github/workflows/nix.yml vendored Normal file
View file

@ -0,0 +1,11 @@
on: [push, pull_request]
name: Basic Code Checks
jobs:
formatting-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: cachix/install-nix-action@v23
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix develop --command alejandra --check .