chore(deps): update github.com/rancher/lasso digest to cbc3210 #5207
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: golangci-lint | |
on: | |
schedule: | |
- cron: '0 5 * * *' | |
pull_request: | |
jobs: | |
golangci: | |
name: golangci-lint | |
runs-on: runs-on,runner=4cpu-linux-x64,run-id=${{ github.run_id }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
check-latest: true | |
cache: false | |
- name: Generate Golang | |
run: | | |
export PATH=$PATH:/home/runner/go/bin/ | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6.1.1 | |
with: | |
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | |
version: v1.61.0 | |
args: --timeout=10m --config=.golangci.json | |
# Optional: show only new issues if it's a pull request. The default value is `false`. | |
# The condition sets this to true for PR events. | |
only-new-issues: "${{ github.event_name == 'pull_request'}}" | |
skip-cache: true |