build: build and release on ubuntu-20.04 for older glibc versions (#121) #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
# we need ubuntu 20.04 because golines needs | |
# to run on hosts with older glibc versions | |
- ubuntu-20.04 | |
- macos-latest | |
- windows-latest | |
go: | |
- "1.21" | |
- "1.20" | |
runs-on: ${{ matrix.os }} | |
name: golines test (using go ${{ matrix.go }} on ${{ matrix.os }}) | |
steps: | |
- uses: actions/checkout@v4 | |
- name: test golines | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
cache: true | |
- run: make test |