mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +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:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
||||||
|
- name: Tidy Modules
|
||||||
|
run: go mod tidy
|
||||||
|
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@master
|
uses: golangci/golangci-lint-action@master
|
||||||
with:
|
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
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
|
||||||
|
- name: Tidy Modules
|
||||||
|
run: go mod tidy
|
||||||
|
|
||||||
- name: Run Lint
|
- name: Run Lint
|
||||||
uses: golangci/golangci-lint-action@master
|
uses: golangci/golangci-lint-action@master
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user