Skip to content

Commit 7ffc98c

Browse files
authored
Merge pull request #33 from uyuni-project/test-build-version
build that binaries can run on older distros
2 parents 46c0cca + 389bd6b commit 7ffc98c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
build:
2020
runs-on: ubuntu-latest
2121

22+
env:
23+
CGO_ENABLED: 0
24+
2225
steps:
2326
- uses: actions/checkout@v4
2427
with:

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414

1515
- name: Set up Go
1616
uses: actions/setup-go@v4
17+
with:
18+
go-version: '1.20'
1719

1820
- name: Run GoReleaser
1921
uses: goreleaser/goreleaser-action@v5
@@ -22,3 +24,4 @@ jobs:
2224
args: release --clean
2325
env:
2426
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
CGO_ENABLED: 0

0 commit comments

Comments
 (0)