Skip to content

.github: add recent go releases and fix missing arm go builds #130

.github: add recent go releases and fix missing arm go builds

.github: add recent go releases and fix missing arm go builds #130

Workflow file for this run

name: go-hclog
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x, 1.21.x, 1.22.x, 1.23.x]
os: [ubuntu-latest, windows-latest, macos-latest]
# Latest macOS version uses Apple Silicon for which there are no arm64
# builds prior to Go 1.16. For these versions the macOS-13 runner is used
# which is Intel based.
exclude:
- go-version: 1.14.x
os: macos-latest
- go-version: 1.15.x
os: macos-latest
include:
- go-version: 1.14.x
os: macos-13
- go-version: 1.15.x
os: macos-13
steps:
- name: Install Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: ${{ matrix.go-version }}
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: Test
run: go test -v ./...