Bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 #206
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
name: Go Multilinting | |
on: [push] | |
jobs: | |
lint: | |
name: Lint code | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: [1.19] | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Set up Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Run golangci-lint | |
uses: golangci/[email protected] | |
with: | |
args: -E bodyclose,gocritic,gofmt,gosec,govet,nestif,nlreturn,revive,rowserrcheck --exclude G401,G501,G107,G307 |