1when: 2 - event: ["push", "pull_request"] 3 4dependencies: 5 nix-pkgs: 6 - go 7 8steps: 9 - name: "go fmt" 10 command: | 11 unformatted=$(gofmt -l .) 12 test -z "$unformatted" || (echo "$unformatted" && exit 1)