fix(otel): Fixing panic in case of no headers for amqp #1240
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 | |
permissions: | |
actions: none | |
checks: none | |
contents: none | |
deployments: none | |
issues: none | |
packages: none | |
pages: none | |
pull-requests: none | |
repository-projects: none | |
security-events: write | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: "0 0 * * 6" | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
language: | |
- go | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Setup Golang | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "^1.21" | |
cache: true | |
- name: Build | |
run: make build | |
- name: CodeQL | |
uses: github/codeql-action/analyze@v2 |