Skip to content

Commit

Permalink
golangci lint
Browse files Browse the repository at this point in the history
Signed-off-by: shaoting-huang <[email protected]>
  • Loading branch information
shaoting-huang committed Nov 22, 2024
1 parent 1e6c503 commit a2144dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v3.0.0
with:
go-version: 1.17
go-version: 1.17.8
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v3.1.0
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.53.3
Expand All @@ -30,7 +30,7 @@ jobs:
# working-directory: somedir

# Optional: golangci-lint command line arguments.
args: --timeout=10m --out-format=colored-line-number
args: --timeout=10m --out-format=colored-line-number -v

# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true
Expand Down

0 comments on commit a2144dc

Please sign in to comment.