Skip to content

CI should run gofmt/goimports and govet #582

@grantr

Description

@grantr

Expected Behavior

Code that has not been properly formatted fails CI and cannot be merged.

Actual Behavior

Code is able to be merged without having the correct golang formatting (see here).

Steps to Reproduce the Problem

  1. Create a PR containing code that hasn't been formatted or vetted.
  2. Observe that no status check fails.

@adrcunha WDYT? This could be a separate check that runs gofmt (or goimports) and govet and fails when they generate changes or warnings.

Metadata

Metadata

Assignees

Labels

area/test-and-releaseIt flags unit/e2e/conformance/perf test issues for product features

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions