From 755327c9e67a879bb8a6c3580906fb33fe5cd720 Mon Sep 17 00:00:00 2001 From: stikkireddy <54602805+stikkireddy@users.noreply.github.com> Date: Thu, 23 Apr 2020 01:12:33 -0400 Subject: [PATCH] added golangci-lint --- .github/workflows/go.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 70cf7a068..efaf4b10a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -22,6 +22,8 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v2 - - name: Run Unit tests + - name: Run Linting Unit tests run: | + # Install + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.25.0 make test