mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-12 03:26:30 +00:00
17 lines
224 B
Makefile
17 lines
224 B
Makefile
|
.PHONY: all imports test lint
|
||
|
|
||
|
all: imports test lint
|
||
|
|
||
|
imports:
|
||
|
goimports -w ./
|
||
|
|
||
|
test:
|
||
|
go test -race ./...
|
||
|
|
||
|
test_coverage:
|
||
|
go test -race -coverprofile=coverage.out -covermode=atomic ./...
|
||
|
|
||
|
lint:
|
||
|
golangci-lint run ./...
|
||
|
|