pre-push:
  parallel: true
  commands:
    unit-tests:
      tags: tests
      run: go test ./...
    lint:
      tags: tests
      run: golangci-lint run

pre-commit:
  parallel: false
  commands:
    gofmt:
      tags: style
      glob: "*.go"
      run: gofmt -w {staged_files}; git add {staged_files}
