Skip to content

Add awesome-go badge #17

Add awesome-go badge

Add awesome-go badge #17

Workflow file for this run

name: Test and Coverage
on: push
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.18', '1.19','1.20','1.21','1.22' ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Run test
run: go test -race -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to CodeCov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}