mirror of
https://github.com/cloudflare/redoctober.git
synced 2026-09-02 06:07:02 +00:00
use go 1.16, GODEBUG=x509ignoreCN=0, upgrade some old deps, replace travis with actions
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user