From 7a8c7cd50f7fbcecd36166d6d14078fb89f57466 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Sun, 27 Mar 2022 13:51:40 +0200 Subject: [PATCH] ci: drop static check --- .drone.yml | 10 ---------- Makefile | 5 +---- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/.drone.yml b/.drone.yml index bf474b8c..46c6c904 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: diff --git a/Makefile b/Makefile index 020130f9..731b3c1f 100644 --- a/Makefile +++ b/Makefile @@ -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