nix-configs/.gitea/workflows/format.yml
Aaron Honeycutt c74e4e6bfb
All checks were successful
nix format check / amd64 (pull_request) Successful in 40s
use v4 instead of v5
2026-02-06 17:17:34 -07:00

27 lines
610 B
YAML

name: nix format check
on:
push:
branches: [main]
pull_request:
types: [opened, reopened, synchronize]
jobs:
amd64:
runs-on: [ nix-flakes, amd64-builder ]
steps:
- name: System Info
run: uname -m
- name: Setup
run: |
apt update -y
apt install -y curl gnupg
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt install -y nodejs
- name: Checkout
uses: actions/checkout@v4
- name: Alejandra Check
run: nix run nixpkgs#alejandra -- --check .
continue-on-error: true