this repo has no description
1when:
2 - event: ["push", "pull_request"]
3 branch: ["master"]
4
5dependencies:
6 nixpkgs:
7 - go
8 - alejandra
9
10steps:
11 - name: "nix fmt"
12 command: |
13 alejandra -c nix/**/*.nix flake.nix
14
15 - name: "go fmt"
16 command: |
17 unformatted=$(gofmt -l .)
18 test -z "$unformatted" || (echo "$unformatted" && exit 1)
19