Skip to content

Update README.md

Update README.md #6

Workflow file for this run

name: Go CI
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.18"
- name: Build
run: go build -v ./...
- name: Test
run: |
echo '### CI Summary 📋' >> $GITHUB_STEP_SUMMARY
go test $(go list ./... | grep -v /example/) -coverpkg=./... -coverprofile ./coverage.out
go tool cover -func ./coverage.out
echo '```' >> $GITHUB_STEP_SUMMARY
go tool cover -func ./coverage.out >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY