Skip to content

Merge pull request #185 from spf13/dependabot/go_modules/github.com/f… #23

Merge pull request #185 from spf13/dependabot/go_modules/github.com/f…

Merge pull request #185 from spf13/dependabot/go_modules/github.com/f… #23

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
# Fail fast is disabled because there are Go version specific features and tests
# that should be able to fail independently.
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
go-version: ['1.16', '1.17', '1.18', '1.19', '1.20']
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Checkout code
uses: actions/checkout@v3
- name: Build
run: go build -v ./...
- name: Test
run: go test -race -v ./...