File tree Expand file tree Collapse file tree 5 files changed +6
-44
lines changed
Expand file tree Collapse file tree 5 files changed +6
-44
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66 BINARY_PREFIX : " zbp_"
77 BINARY_SUFFIX : " "
88 PR_PROMPT : " ::warning:: Build artifact will not be uploaded due to the workflow is trigged by pull request."
9- LD_FLAGS : " -w -s"
9+ LD_FLAGS : " -w -s -checklinkname=0 "
1010
1111jobs :
1212 build :
4545 GOARCH : ${{ matrix.goarch }}
4646 IS_PR : ${{ !!github.head_ref }}
4747 run : |
48+ if [ ! -f custom/register.go ]; then touch custom/register.go; fi
4849 go generate ./...
4950 if [ $GOOS = "windows" ]; then export BINARY_SUFFIX="$BINARY_SUFFIX.exe"; fi
5051 if $IS_PR ; then echo $PR_PROMPT; fi
Original file line number Diff line number Diff line change 3636 - name : Tidy Modules
3737 run : |
3838 go mod tidy
39+ if [ ! -f custom/register.go ]; then touch custom/register.go; fi
3940 go generate ./...
4041
4142 - name : golangci-lint
Original file line number Diff line number Diff line change 1616 - name : Tidy Modules
1717 run : |
1818 go mod tidy
19+ if [ ! -f custom/register.go ]; then touch custom/register.go; fi
1920 go generate ./...
2021
2122 - name : Run Lint
Original file line number Diff line number Diff line change 44before :
55 hooks :
66 - go mod tidy
7+ - if [ ! -f custom/register.go ]; then touch custom/register.go; fi
78 - go generate ./...
89 - go install github.com/tc-hib/go-winres@latest
910 - go-winres make
@@ -26,7 +27,7 @@ builds:
2627 flags :
2728 - -trimpath
2829 ldflags :
29- - -s -w
30+ - -s -w -checklinkname=0
3031 - id : win
3132 env :
3233 - CGO_ENABLED=0
You can’t perform that action at this time.
0 commit comments