Skip to content

Generalize run option overriding #1306

Generalize run option overriding

Generalize run option overriding #1306

Workflow file for this run

name: Build gactar
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
goarch: [amd64, arm64]
exclude:
- os: windows-latest
goarch: arm64
steps:
- name: Check out source code
uses: actions/checkout@v3
- name: Setup
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
cache: true
- name: Build
run: env GOARCH=${{ matrix.goarch }} make
- name: Test
if: ${{ matrix.goarch == 'amd64' }}
run: go test ./...