Skip to content

Update README.md

Update README.md #11

Workflow file for this run

name: Go Coverage
on: [push, pull_request]
jobs:
coverage:
name: Generate Test Coverage Badge
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '^1.21.3' # Specify the Go version
- name: Check out code
uses: actions/checkout@v2
- name: Run Test Coverage
run: go test -coverprofile=coverage.out -covermode=atomic ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}