This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
Bump golang to 1.21 #911
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: Multilinters | |
on: | |
push: | |
paths: | |
- "**.go" | |
- "go.*" | |
jobs: | |
build: | |
name: Check code | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: ["1.21"] | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v4.0.0 | |
with: | |
version: v1.51.1 | |
args: --timeout 5m -E bodyclose,gocritic,gofmt,gosec,govet,nestif,nlreturn,revive,rowserrcheck --exclude G401,G501,G107 |