Skip to content

Error cascade

Error cascade #78

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ "1.17", "1.18" ]
arch:
- "GOARCH=amd64"
- "GOARCH=arm GOARM=5"
- "GOARCH=arm GOARM=6"
- "GOARCH=arm GOARM=7"
- "GOARCH=arm64"
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Build
run: GOOS=linux CGO_ENABLED=0 ${{ matrix.arch }} go build -v ./cmd/root.go
- name: Test
run: go test -v ./...