Bump golangci/golangci-lint-action from 9665fb5353a2e4cc60d570d956ab6db7d9949f06 to cc227bc4c2b63c1f55b71f932f0916189d6467ec #208
Workflow file for this run
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@cc227bc4c2b63c1f55b71f932f0916189d6467ec | |
with: | |
version: v1.60.3 | |
args: --config=.golangci.yml --verbose --out-${NO_FUTURE}format colored-line-number | |
skip-cache: true |