Bump golangci/golangci-lint-action from 9665fb5353a2e4cc60d570d956ab6db7d9949f06 to f33eece31ed917dd3cd02519e429115c0bbf1179 #235
This file contains hidden or 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: lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
permissions: read-all | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/[email protected] | |
- name: Install Go | |
uses: actions/[email protected] | |
with: | |
go-version-file: go.mod | |
cache-dependency-path: go.sum | |
- name: Setup GO env | |
run: go env -w CGO_ENABLED=0 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@f33eece31ed917dd3cd02519e429115c0bbf1179 | |
with: | |
version: v1.60.3 | |
args: --config=.golangci.yml --verbose --out-${NO_FUTURE}format colored-line-number | |
skip-cache: true |