Skip to content

Update README.md

Update README.md #5

Workflow file for this run

name: throttle
on:
push:
branches:
- main
- dev
pull_request:
paths:
- "throttle/**"
- ".github/workflows/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21.2
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./... -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}