Add workflow to check flake
This commit is contained in:
parent
eb2890525e
commit
3b8d65720a
1 changed files with 17 additions and 0 deletions
17
.forgejo/workflows/flake-check.yaml
Normal file
17
.forgejo/workflows/flake-check.yaml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
name: "Flake check"
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches: ['main']
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Install nix
|
||||||
|
uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
||||||
|
- name: Run nix flake check
|
||||||
|
run: nix flake check
|
Loading…
Add table
Add a link
Reference in a new issue