Basic CI that checks pre-commits

This commit is contained in:
Nicolas Jeannerod 2024-11-13 22:44:02 +01:00
parent e51fca5f0e
commit 4b77808f3f
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8

16
.forgejo/workflow/ci.yaml Normal file
View file

@ -0,0 +1,16 @@
on:
pull_request:
types:
- opened
- synchronize
- reopened
push:
branches:
- main
jobs:
check-pre-commit:
runs-on: native
steps:
- uses: actions/checkout@v4
- run: nix build .#checks.x86_64-linux.pre-commit -L