π gh action #7
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
# golangci-lint run | |
name: golangci-lint | |
on: | |
push: | |
branches: | |
- dev | |
- main | |
jobs: | |
golangci: | |
name: lint-codebase | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "1.20" | |
- uses: actions/checkout@v3 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.52.2 | |
args: --timeout 15m0s --verbose --out-${NO_FUTURE}format tab |