Skip to content

Merge pull request #225 from lechefer/fix_fatal_when_set_status_skipp… #451

Merge pull request #225 from lechefer/fix_fatal_when_set_status_skipp…

Merge pull request #225 from lechefer/fix_fatal_when_set_status_skipp… #451

Workflow file for this run

name: Building and testing against different environments
on:
push:
branches:
tags:
pull_request:
env:
CGO_ENABLED: '0' # https://github.com/golang/go/issues/26988
GO111MODULE: 'on'
jobs:
build:
name: Build on ${{ matrix.os }} for golang ${{ matrix.go }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
go: ['1.13.x', '1.14.x', '1.15.x', '1.16.x', '1.17.x']
steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v .
- name: Test
run: |
go test -v ./...