27 lines
610 B
YAML
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
|