Run golangci-lint with the make lint-go target, adjust workflows (#1778)

This commit is contained in:
Martin Angers
2021-08-24 15:36:50 -04:00
committed by GitHub
parent e61cb7e0db
commit 80fb3cb145
3 changed files with 9 additions and 22 deletions
-19
View File
@@ -176,22 +176,3 @@ jobs:
run: |
MYSQL_TEST=1 make test-go
lint-go:
strategy:
matrix:
os: [ubuntu-latest]
go-version: ['^1.16.0']
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout Code
uses: actions/checkout@v2
- name: Run Go Linting
run: |
make lint-go