fix: make lint&ci happy

This commit is contained in:
源文雨
2025-10-01 00:16:07 +08:00
parent d2e6c9780f
commit 8825514fb2
9 changed files with 54 additions and 9 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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