Skip to content

Commit

Permalink
chore: disable CGO (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias authored Aug 25, 2024
1 parent 63449f1 commit 4e87e6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ jobs:
with:
go-version: "1.23.x"
- run: go build .
env:
CGO_ENABLED: '0'
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ before:
builds:
- main: main.go
binary: webdav
env:
- CGO_ENABLED=0
flags:
- '-trimpath'
ldflags:
Expand Down

0 comments on commit 4e87e6a

Please sign in to comment.