Run golangci-lint with the make lint-go target, adjust workflows (#1778)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user