Skip to content

Commit

Permalink
build: build and release on ubuntu-20.04 for older glibc versions
Browse files Browse the repository at this point in the history
  • Loading branch information
asaf-erlich committed Jan 22, 2024
1 parent 22903f7 commit db4d214
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ permissions:

jobs:
goreleaser:
runs-on: ubuntu-latest
# we need ubuntu 20.04 because golines needs
# to run on hosts with older glibc versions
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ permissions:
jobs:
golangci:
name: golines lint
runs-on: ubuntu-latest
# we need ubuntu 20.04 because golines needs
# to run on hosts with older glibc versions
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ permissions:

jobs:
goreleaser:
runs-on: ubuntu-latest
# we need ubuntu 20.04 because golines needs
# to run on hosts with older glibc versions
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-latest
# we need ubuntu 20.04 because golines needs
# to run on hosts with older glibc versions
- ubuntu-20.04
- macos-latest
- windows-latest
go:
Expand Down

0 comments on commit db4d214

Please sign in to comment.