Files
nixarr/.github/workflows/formatting.yml
T
2025-03-10 09:44:22 +01:00

24 lines
564 B
YAML

name: Formatting
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main, release**]
pull_request:
branches: [main, release**]
# Allows us to run the workflow manually from the Actions tab
workflow_dispatch:
jobs:
check-formatting:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- run: nix fmt -- --check .