mirror of
https://github.com/hacdias/webdav.git
synced 2026-09-22 03:20:41 +08:00
chore: disable CGO (#184)
This commit is contained in:
@@ -17,3 +17,5 @@ jobs:
|
||||
with:
|
||||
go-version: "1.23.x"
|
||||
- run: go build .
|
||||
env:
|
||||
CGO_ENABLED: '0'
|
||||
|
||||
@@ -8,6 +8,8 @@ before:
|
||||
builds:
|
||||
- main: main.go
|
||||
binary: webdav
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
flags:
|
||||
- '-trimpath'
|
||||
ldflags:
|
||||
|
||||
Reference in New Issue
Block a user