snowflake/.forgejo/workflows/fmt.yml

16 lines
362 B
YAML

name: fmt check
on:
push:
paths:
- "**.nix"
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install nix action
uses: https://github.com/DeterminateSystems/nix-installer-action@v5
with:
github-token: ${{ secrets.GH_TOKEN }}
- run: nix run nixpkgs#alejandra -- -c .