Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: lint error notices #91

Merged
merged 11 commits into from
Jun 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update golangci config
  • Loading branch information
wenfengwang committed Jun 6, 2022
commit 84524f56312d47bd39c6ecc0b478f108664511d5
5 changes: 1 addition & 4 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,13 @@ jobs:
- uses: actions/setup-go@v2
- name: checkout-vanus
uses: actions/checkout@v3
- name: replace-gomod
run: |
sed -i "s/\.\./\./g" go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.1.0
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.45
# Optional: working directory, useful for monorepos
# working-directory: vanus
working-directory: internal

# Optional: golangci-lint command line arguments.
# args: --issues-exit-code=0
Expand Down