ci: add check and format workflows
This commit is contained in:
parent
6f3ab0b8d3
commit
082722b2a8
3 changed files with 94 additions and 21 deletions
24
.github/workflows/check.yaml
vendored
Normal file
24
.github/workflows/check.yaml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: "Nix Flake Check"
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- outputs/pkgs/**
|
||||
- .github/**
|
||||
concurrency:
|
||||
group: ooknet-check-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
nix-flake-check:
|
||||
name: Evaluate Flake
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Nix
|
||||
uses: DeterminateSystems/nix-installer-action@main
|
||||
- name: Magic Nix Cache
|
||||
uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
- name: Nix Flake
|
||||
run: nix flake check
|
||||
Loading…
Add table
Add a link
Reference in a new issue