From 4329242c309451c118007d3f8bb90489f6d1a21a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C4=85tkowski?= Date: Mon, 8 Aug 2022 01:25:30 +0200 Subject: [PATCH] Migrate staticcheck --- .github/workflows/go.yml | 3 +-- Makefile | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 49818d8..db84723 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -26,8 +26,7 @@ jobs: make test - name: Lint - run: | - make staticcheck + uses: dominikh/staticcheck-action@v1.2.0 - name: Check Formatting run: | diff --git a/Makefile b/Makefile index ae703f4..965bc6c 100644 --- a/Makefile +++ b/Makefile @@ -35,9 +35,6 @@ image: image-magneticod image-magneticow vet: go vet ./... -staticcheck: - ./misc/staticcheck/staticcheck -fail all ./... - test: go test ./...