Add a way to limit the number of samples we keep for buffered metrics #78
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: generate-mock | |
on: | |
pull_request: | |
jobs: | |
native: | |
strategy: | |
matrix: | |
runs-on: | |
- ubuntu-latest | |
- windows-latest | |
fail-fast: false | |
runs-on: ${{ matrix.runs-on }} | |
steps: | |
- name: Setup go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 'stable' | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- run: go install github.com/golang/mock/mockgen@v1.6.0 | |
- run: go generate statsd/statsd.go | |
- run: git diff --exit-code HEAD |