diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4aad2b1..ffda226 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,9 @@ name: Continuous Integration +env: + # Build a statically-linked binary so it runs on any distro (fully portable) + CGO_ENABLED: 0 + on: push: branches: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8dd6280..f07669d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,6 +2,10 @@ name: Release permissions: contents: write +env: + # Build statically-linked binaries so they run on any distro (fully portable) + CGO_ENABLED: 0 + on: release: types: [created]