mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-06 15:20:22 +00:00
fix: make lint&ci happy
This commit is contained in:
1
.github/workflows/nightly.yml
vendored
1
.github/workflows/nightly.yml
vendored
@@ -45,7 +45,6 @@ jobs:
|
||||
GOARCH: ${{ matrix.goarch }}
|
||||
IS_PR: ${{ !!github.head_ref }}
|
||||
run: |
|
||||
if [ ! -f custom/register.go ]; then touch custom/register.go; fi
|
||||
go generate ./...
|
||||
if [ $GOOS = "windows" ]; then export BINARY_SUFFIX="$BINARY_SUFFIX.exe"; fi
|
||||
if $IS_PR ; then echo $PR_PROMPT; fi
|
||||
|
||||
1
.github/workflows/pull.yml
vendored
1
.github/workflows/pull.yml
vendored
@@ -36,7 +36,6 @@ jobs:
|
||||
- name: Tidy Modules
|
||||
run: |
|
||||
go mod tidy
|
||||
if [ ! -f custom/register.go ]; then touch custom/register.go; fi
|
||||
go generate ./...
|
||||
|
||||
- name: golangci-lint
|
||||
|
||||
1
.github/workflows/push.yml
vendored
1
.github/workflows/push.yml
vendored
@@ -16,7 +16,6 @@ jobs:
|
||||
- name: Tidy Modules
|
||||
run: |
|
||||
go mod tidy
|
||||
if [ ! -f custom/register.go ]; then touch custom/register.go; fi
|
||||
go generate ./...
|
||||
|
||||
- name: Run Lint
|
||||
|
||||
Reference in New Issue
Block a user