mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-18 20:50:12 +08:00
💩👌 make lint happy
This commit is contained in:
parent
0afe577b1b
commit
2710074f00
3
.github/workflows/pull.yml
vendored
3
.github/workflows/pull.yml
vendored
@ -33,6 +33,9 @@ jobs:
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: Tidy Modules
|
||||
run: go mod tidy
|
||||
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@master
|
||||
with:
|
||||
|
||||
3
.github/workflows/push.yml
vendored
3
.github/workflows/push.yml
vendored
@ -13,6 +13,9 @@ jobs:
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Tidy Modules
|
||||
run: go mod tidy
|
||||
|
||||
- name: Run Lint
|
||||
uses: golangci/golangci-lint-action@master
|
||||
with:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user