name: ci on: [push, pull_request] jobs: build: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - name: Checkout uses: actions/checkout@v2 - name: Setup Go uses: actions/setup-go@v2 with: go-version: '^1.17' - name: Format run: make fmt - name: Build run: make build - name: Test run: make test