Skip to content

Move run options to util to set up for CLI options #1266

Move run options to util to set up for CLI options

Move run options to util to set up for CLI options #1266

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 ./...