Skip to content

Partial unpack

Partial unpack #681

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Go Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
version: [stable, oldstable]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.version }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Check
if: runner.os == 'Linux'
run: make check
- name: Go Tests
if: runner.os != 'Linux'
run: go test ./... -count 1 -short
- name: Upload Code Coverage
if: runner.os == 'Linux'
run: bash <(curl -s https://codecov.io/bash)