Update module github.com/alexkohler/prealloc to v1.0.2 #630
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: | |
| pull_request: ~ | |
| push: | |
| branches: | |
| - main | |
| permissions: read-all | |
| jobs: | |
| codeql: | |
| name: ${{ matrix.what }} | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| security-events: write # To upload CodeQL results | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| what: | |
| - actions | |
| - go | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Install Go | |
| uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 | |
| with: | |
| go-version-file: go.mod | |
| - name: Verify action checksums | |
| env: | |
| JOB: ${{ github.job }} | |
| WORKFLOW: ${{ github.workflow_ref }} | |
| run: | | |
| WORKFLOW=$(echo "$WORKFLOW" | cut -d '@' -f 1 | cut -d '/' -f 3-5) | |
| go run ./cmd/ghasum verify -cache /home/runner/work/_actions -no-evict -offline "$WORKFLOW:$JOB" | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0 | |
| with: | |
| config-file: ./.github/codeql.yml | |
| languages: ${{ matrix.what }} | |
| - name: Perform CodeQL analysis | |
| uses: github/codeql-action/analyze@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0 |