Skip to content

refactor: ast node json unmarshal (#409) #1043

refactor: ast node json unmarshal (#409)

refactor: ast node json unmarshal (#409) #1043

Workflow file for this run

name: build-and-test-macos
on:
pull_request:
push:
branches:
- main
- "releases/*"
jobs:
build-and-test:
# Ref: https://github.com/actions/runner-images/tree/main/images/macos
# Note: The arch of macos-13-xlarge and macos-14 is arm64
strategy:
matrix:
os: [ macos-12, macos-13, macos-13-xlarge, macos-14 ]
cgo: [ '1', '0' ]
runs-on: ${{ matrix.os }}
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Go test
env:
CGO_ENABLED: ${{ matrix.cgo }}
run: go test ./...