mirror of
https://github.com/rancher/steve.git
synced 2025-04-27 11:00:48 +00:00
Take a stab at getting golangci-lint working
This commit is contained in:
parent
4bd1e2e7d8
commit
9137045d72
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
@ -19,7 +19,15 @@ jobs:
|
||||
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
- name: Install mockgen
|
||||
run: go install github.com/golang/mock/mockgen@v1.6.0
|
||||
- name: Install golangci-lint
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: v1.57.1
|
||||
- name: Build
|
||||
run: make build-bin
|
||||
- name: Test
|
||||
run: make test
|
||||
- name: Validate
|
||||
run: make validate
|
||||
|
Loading…
Reference in New Issue
Block a user