1
0
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:
Nicholas Flynt 2024-05-24 12:50:53 -04:00
parent 4bd1e2e7d8
commit 9137045d72

View File

@ -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