fruitbasket/.github/workflows/fmt.yaml
2022-12-17 17:46:35 +01:00

26 lines
450 B
YAML

name: main
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check-flake:
name: Check Flake
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v18
with:
extra_nix_config: |
experimental-features = nix-command flakes
- run: nix-shell -p nixpkgs-fmt --run 'nixpkgs-fmt . --check'