Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobgy committed Jan 22, 2022
1 parent fa224a9 commit e858070
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@
# See the License for the specific language governing permissions and
# limitations under the License.

precommit: tidy lint
# All of these should pass before sending a PR.
precommit: test lint tidy

tidy: FORCE
go mod tidy
test: FORCE
go test ./...

lint: FORCE
# Note, golangci-lint version is pinned in go.mod. When upgrading, also
# upgrade version in .github/workflows/golangci-lint.yml.
go run github.com/golangci/golangci-lint/cmd/golangci-lint run -v

tidy: FORCE
go mod tidy

FORCE: ;

0 comments on commit e858070

Please sign in to comment.