add github action
This commit is contained in:
parent
9fa59c1ba2
commit
21c8871d4e
1 changed files with 11 additions and 0 deletions
11
.github/workflows/nix.yml
vendored
Normal file
11
.github/workflows/nix.yml
vendored
Normal 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 .
|
||||
Loading…
Add table
Add a link
Reference in a new issue