mirror of
https://github.com/YuzuZensai/TrollSSH.git
synced 2026-07-15 14:06:00 +00:00
16 lines
302 B
YAML
16 lines
302 B
YAML
pre-commit:
|
|
parallel: true
|
|
commands:
|
|
format:
|
|
glob: "*.go"
|
|
run: test -z "$(gofmt -l {staged_files})"
|
|
vet:
|
|
glob: "*.go"
|
|
run: go vet ./src/...
|
|
lint:
|
|
glob: "*.go"
|
|
run: golangci-lint run ./src/...
|
|
test:
|
|
glob: "*.go"
|
|
run: go test ./src/...
|