Skip to content

Workflow file for this run

on:
push:
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Format files with nixpkgs-fmt
run: nix-shell -p nixpkgs-fmt --run "nixpkgs-fmt ."
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
message: "chore: format"
default_author: user_info
committer_name: GitHub Actions
committer_email: 41898282+github-actions[bot]@users.noreply.github.com