ci/cd: workflow changes
This commit is contained in:
parent
637a3839d7
commit
4132420034
4 changed files with 53 additions and 34 deletions
21
.github/workflows/flake-check-action.yaml
vendored
Normal file
21
.github/workflows/flake-check-action.yaml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
name: "Flake Check Action"
|
||||
run-name: "nfc"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
checker:
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- name: "repo checkout"
|
||||
uses: "actions/checkout@v4"
|
||||
- name: "nix install"
|
||||
uses: "DeterminateSystems/nix-installer-action@v16"
|
||||
- name: "flake check"
|
||||
uses: "DeterminateSystems/flake-checker-action@v5"
|
||||
- name: "Deadnix check"
|
||||
run: "nix run github:astro/deadnix#deadnix -- -f"
|
||||
- name: "Alejandra check"
|
||||
run: "nix run github:kamadorueda/alejandra#alejandra -- -c --experimental-config ./alejandra.toml"
|
||||
Loading…
Add table
Add a link
Reference in a new issue