Skip to content

Commit 8c46088

Browse files
authored
build: build and release on ubuntu-20.04 for older glibc versions (#121)
1 parent 22903f7 commit 8c46088

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

.github/workflows/build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ permissions:
88

99
jobs:
1010
goreleaser:
11-
runs-on: ubuntu-latest
11+
# we need ubuntu 20.04 because golines needs
12+
# to run on hosts with older glibc versions
13+
runs-on: ubuntu-20.04
1214
steps:
1315
- uses: actions/checkout@v4
1416
with:

.github/workflows/lint.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ permissions:
88
jobs:
99
golangci:
1010
name: golines lint
11-
runs-on: ubuntu-latest
11+
# we need ubuntu 20.04 because golines needs
12+
# to run on hosts with older glibc versions
13+
runs-on: ubuntu-20.04
1214
steps:
1315
- uses: actions/checkout@v4
1416
- uses: actions/setup-go@v5

.github/workflows/release.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ permissions:
1010

1111
jobs:
1212
goreleaser:
13-
runs-on: ubuntu-latest
13+
# we need ubuntu 20.04 because golines needs
14+
# to run on hosts with older glibc versions
15+
runs-on: ubuntu-20.04
1416
steps:
1517
- uses: actions/checkout@v4
1618
with:

.github/workflows/test.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ jobs:
88
fail-fast: false
99
matrix:
1010
os:
11-
- ubuntu-latest
11+
# we need ubuntu 20.04 because golines needs
12+
# to run on hosts with older glibc versions
13+
- ubuntu-20.04
1214
- macos-latest
1315
- windows-latest
1416
go:

0 commit comments

Comments
 (0)