Skip to content

Merge pull request #402 from moov-io/renovate/github.com-rickar-cal-v… #682

Merge pull request #402 from moov-io/renovate/github.com-rickar-cal-v…

Merge pull request #402 from moov-io/renovate/github.com-rickar-cal-v… #682

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Go Build (No CGO)
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: Install make (Windows)
if: runner.os == 'Windows'
run: choco install -y make mingw
- name: Setup
if: runner.os == 'Linux'
run: make setup
- name: Check
if: runner.os == 'Linux'
run: make check
env:
CGO_ENABLED: "0"
- name: Short Check
if: runner.os != 'Linux'
run: make check
env:
CGO_ENABLED: "0"
GOTEST_FLAGS: "-short"