ci/cd: workflow changes

This commit is contained in:
hand7s 2025-04-27 12:38:05 +03:00
parent 637a3839d7
commit 4132420034
No known key found for this signature in database
4 changed files with 53 additions and 34 deletions

View 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"