From 07c5991b36b3e22c06b51f56916a9b1889969758 Mon Sep 17 00:00:00 2001 From: Stashchenko Date: Wed, 20 May 2020 21:45:51 +0300 Subject: [PATCH] add linter --- .github/workflows/go.yml | 2 +- README.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e3103bd..d9bf062 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -15,7 +15,7 @@ jobs: go get github.com/golangci/golangci-lint/cmd/golangci-lint - name: Run linters run: | - export PATH=$PATH:$(go env GOPATH)/bin golangci-lint -E bodyclose,misspell,gocyclo,dupl,gofmt,golint,unconvert,goimports,depguard,gocritic,funlen,interfacer run + export PATH=$PATH:$(go env GOPATH)/bin && golangci-lint -E bodyclose,misspell,gocyclo,dupl,gofmt,golint,unconvert,goimports,depguard,gocritic,funlen,interfacer run test: strategy: diff --git a/README.md b/README.md index 53b832d..b7c3b63 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ ![Go](https://github.com/Stashchenko/sqs-worker/workflows/Go/badge.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/github/Stashchenko/sqs-worker/badge.svg?branch=master)](https://coveralls.io/github/Stashchenko/sqs-worker?branch=master) +[![Go Report Card](https://goreportcard.com/badge/github.com/Stashchenko/sqs-worker)](https://goreportcard.com/report/github.com/Stashchenko/sqs-worker) GoLang SQS Queue Worker using the AWS SDK: