Skip to content

Readme

Readme #2

Workflow file for this run

name: Flake Check
on:
workflow_run:
workflows: ["Flake Update"]
types:
- completed
push:
branches:
- main
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v23
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Install Nix Linting and Formatting Tools
run: nix-env -i statix nixpkgs-fmt -f '<nixpkgs>'
- name: Flake update
run: nix flake update
- name: Run Statix Lint
run: statix fix
- name: Run Nix Format
run: nixpkgs-fmt .
- name: Flake update
run: nix flake check --all-systems