use go 1.16, GODEBUG=x509ignoreCN=0, upgrade some old deps, replace travis with actions

This commit is contained in:
Nicky Semenza
2021-10-13 11:19:36 -07:00
parent 730c286fd5
commit dcb780a3a5
748 changed files with 257964 additions and 17629 deletions
+19
View File
@@ -0,0 +1,19 @@
name: Go Test
on:
push:
jobs:
test:
runs-on: ubuntu-latest
env:
GOFLAGS: "-mod=vendor"
GODEBUG: x509ignoreCN=0
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.16"
- run: go mod vendor
- run: go build
- run: go test -race -coverprofile=coverage.out ./...
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)