mirror of
https://github.com/cloudflare/redoctober.git
synced 2026-01-09 07:33:47 +00:00
19 lines
432 B
YAML
19 lines
432 B
YAML
name: Go Test
|
|
on:
|
|
push:
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
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)
|