Merge pull request #88 from neicnordic/dependabot/go_modules/golang.o… #247
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: Multilinters | |
on: | |
push: | |
jobs: | |
build: | |
name: Check code | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: ["1.20"] | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v3.7.0 | |
with: | |
version: v1.51.1 | |
args: -E bodyclose,gocritic,gofmt,gosec,govet,nestif,nlreturn,revive,rowserrcheck --exclude G401,G501,G107 |