Skip to content

Bump golangci/golangci-lint-action from 4.0.0 to 5.0.0 #1090

Bump golangci/golangci-lint-action from 4.0.0 to 5.0.0

Bump golangci/golangci-lint-action from 4.0.0 to 5.0.0 #1090

Workflow file for this run

name: Go Multilinting
on: [push]
jobs:
lint:
name: Lint code
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.21"]
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/golangci-lint-action@v5.0.0
with:
args: -E bodyclose,gocritic,gofmt,gosec,govet,nestif,nlreturn,revive,rowserrcheck --exclude G401,G501,G107,G307