metrics: send metrics to the otel collector endpoint when active #148
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: codeql | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'v[0-9]*' | |
pull_request: | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
env: | |
GO_VERSION: 1.21.3 | |
jobs: | |
codeql: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
- | |
name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- | |
name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: go | |
- | |
name: Autobuild | |
uses: github/codeql-action/autobuild@v3 | |
- | |
name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:go" |