Skip to content

Update .pre-commit-config.yaml #1

Update .pre-commit-config.yaml

Update .pre-commit-config.yaml #1

Workflow file for this run

name: throttle
on:
push:
branches:
- main
- dev
pull_request:
- main
- dev
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 }}