Move who owns HTTPClient #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [ '1.19', '1.18' ] | |
name: Go ${{ matrix.go }} test | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Check documentation generator | |
run: | | |
find . -name '*.md' | xargs env AUTODOC_DRYRUN=1 perl tools/autodoc.pl | |
- name: Install Go stable version | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Test | |
run: go test -v -race -coverprofile=coverage.out -coverpkg=./... ./... | |
- name: Upload code coverage to codecov | |
if: matrix.go == '1.19' | |
uses: codecov/codecov-action@v3 | |
with: | |
file: ./coverage.out | |