spf13--viper/.github/workflows/ci.yml
Dustin Mitchell de261e11d0
Copy CI workflows from spf13/viper repo
This imports the `ci` workflow from
ab4b05adc6
with one modification noted in the file.

This omits the feedback workflows, as those are not required here.  It
also omits the wasm workflow, as this old snapshot of the code does not
work in that context.
2021-07-20 09:41:35 -04:00

36 lines
666 B
YAML

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go: ['1.14', '1.15', '1.16']
env:
VERBOSE: 1
GOFLAGS: -mod=readonly
GOPROXY: https://proxy.golang.org
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Checkout code
uses: actions/checkout@v2
# the DataDog fork of this repository has many lint failures
# - name: Lint
# run: make lint
- name: Test
run: make test