Add flake check workflow
All checks were successful
Push workflow / flake-check (push) Successful in 13s
All checks were successful
Push workflow / flake-check (push) Successful in 13s
This commit is contained in:
22
.gitea/workflows/push.yaml
Normal file
22
.gitea/workflows/push.yaml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
name: Push workflow
|
||||||
|
|
||||||
|
on: push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
flake-check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Install Nix
|
||||||
|
uses: DeterminateSystems/nix-installer-action@v12
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
|
extra_conf: |
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
|
||||||
|
- name: Flake check
|
||||||
|
run: nix flake check
|
||||||
Reference in New Issue
Block a user