ci: enforce prettier formatting #488

merged
opened by winter.bsky.social targeting master from push-pzwzzlwkkpnw
Changed files
+2 -13
.tangled
workflows
+2 -13
.tangled/workflows/fmt.yml
··· 2 2 - event: ["push", "pull_request"] 3 3 branch: ["master"] 4 4 5 - dependencies: 6 - nixpkgs: 7 - - go 8 - - alejandra 9 - 10 5 steps: 11 - - name: "nix fmt" 12 - command: | 13 - alejandra -c nix/**/*.nix flake.nix 14 - 15 - - name: "go fmt" 6 + - name: "Check formatting" 16 7 command: | 17 - unformatted=$(gofmt -l .) 18 - test -z "$unformatted" || (echo "$unformatted" && exit 1) 19 - 8 + nix run .#fmt -- --ci