Fix QEMU distro tests, switch to hash spec_id map and remove pid based attachment #664
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: "CodeQL" | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| schedule: | |
| - cron: "21 6 * * 1" | |
| permissions: read-all | |
| jobs: | |
| analyze: | |
| permissions: | |
| security-events: write # for github/codeql-action/analyze to upload SARIF results | |
| name: Analyze Go (${{ matrix.target_arch }}) | |
| if: ${{ github.actor != 'dependabot[bot]' && github.repository == 'open-telemetry/opentelemetry-ebpf-profiler' }} | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| target_arch: [amd64, arm64] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Set up environment | |
| uses: ./.github/workflows/env | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@76621b61decf072c1cee8dd1ce2d2a82d33c17ed # v3.29.8 | |
| with: | |
| languages: go | |
| - name: Build Artifact | |
| run: | | |
| make TARGET_ARCH=${{ matrix.target_arch }} | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@76621b61decf072c1cee8dd1ce2d2a82d33c17ed # v3.29.8 | |
| with: | |
| category: "/language:Go" | |
| timeout-minutes: 10 |