[docs] Add documentation for how to expose pool stats as metrics #184
Workflow file for this run
This file contains hidden or 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: golangci-lint | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| golangci: | |
| name: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup golang | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: '1.22' | |
| cache: false # Handled by golangci-lint. | |
| - name: Validate go mod | |
| run: | | |
| go mod tidy | |
| git --no-pager diff && [[ 0 -eq $(git status --porcelain | wc -l) ]] | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v4 | |
| with: | |
| version: v1.56.2 | |
| args: --out-format=colored-line-number |