remove default fasthttp transport #26
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
# This workflow will build a golang project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: Go | |
on: | |
push: | |
branches: ["v3"] | |
pull_request: | |
branches: ["v3"] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
go: | |
- "1.21" | |
- "1.20" | |
- "1.19" | |
- "1.18" | |
- "1.17" | |
- "1.16" | |
- "1.15" | |
- "1.14" | |
- "1.13" | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
env: | |
GO111MODULE: "on" | |
with: | |
go-version: ${{ matrix.go }} | |
check-latest: true | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: go mod download | |
- name: Install goveralls | |
run: | | |
go get github.com/mattn/goveralls | |
go install github.com/mattn/goveralls | |
- name: Test and Send coverage | |
env: | |
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: goveralls -race -service=github |