Skip to content

formatting

formatting #8

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@v26
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
auto-optimise-store = true
experimental-features = nix-command flakes
- name: Format files with nixpkgs-fmt
run: nix run nixpkgs#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