ci: drop static check
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2022-03-27 13:51:40 +02:00
parent bafc8a8e34
commit 7a8c7cd50f
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 1 additions and 14 deletions

View File

@ -7,16 +7,6 @@ steps:
commands:
- make check
- name: make static
image: golang:1.18
ignore: true # until we decide we all want this check
environment:
STATIC_CHECK_URL: honnef.co/go/tools/cmd/staticcheck
STATIC_CHECK_VERSION: v0.2.0
commands:
- go install $STATIC_CHECK_URL@$STATIC_CHECK_VERSION
- make static
- name: make build
image: golang:1.18
commands:

View File

@ -5,7 +5,7 @@ LDFLAGS := "-X 'main.Commit=$(COMMIT)'"
DIST_LDFLAGS := $(LDFLAGS)" -s -w"
export GOPRIVATE=coopcloud.tech
all: format check static build test
all: format check build test
run:
@go run -ldflags=$(LDFLAGS) $(ABRA)
@ -28,9 +28,6 @@ format:
check:
@test -z $$(gofmt -l .) || (echo "gofmt: formatting issue - run 'make format' to resolve" && exit 1)
static:
@staticcheck $(ABRA)
test:
@go test ./... -cover -v