mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
尝试解决lint失败
This commit is contained in:
parent
4804cfa5a2
commit
f3184bc08d
2
.github/workflows/pull.yml
vendored
2
.github/workflows/pull.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
uses: golangci/golangci-lint-action@v2
|
uses: golangci/golangci-lint-action@v2
|
||||||
with:
|
with:
|
||||||
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
|
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
|
||||||
version: latest
|
version: v1.17
|
||||||
|
|
||||||
# Optional: working directory, useful for monorepos
|
# Optional: working directory, useful for monorepos
|
||||||
# working-directory: somedir
|
# working-directory: somedir
|
||||||
|
|||||||
2
.github/workflows/push.yml
vendored
2
.github/workflows/push.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
|||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v2
|
uses: golangci/golangci-lint-action@v2
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: v1.17
|
||||||
args: --issues-exit-code=0
|
args: --issues-exit-code=0
|
||||||
- name: Commit back
|
- name: Commit back
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user