chore(golangci): update golangci-lint to v1.60.2 #212
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
name: generate-and-test | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ^1.21 | |
- name: get modules | |
run: go mod vendor | |
- name: generate | |
run: make generate | |
- name: format | |
run: make format && git diff --exit-code | |
- name: golangci-lint | |
uses: golangci/[email protected] | |
with: | |
version: v1.54 | |
- name: run tests | |
run: make test |