GitHub Actions and workflow dependencies are not pinned by hash (Scorecard Pinned-Dependencies) #10861
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", "feature/evm-network-driver", "feature/zkat-snark-driver" ] | |
| pull_request: | |
| branches: [ "main", "feature/evm-network-driver", "feature/zkat-snark-driver" ] | |
| schedule: | |
| - cron: '39 22 * * 5' | |
| permissions: {} | |
| jobs: | |
| analyze: | |
| name: Analyze | |
| runs-on: 'ubuntu-latest' | |
| timeout-minutes: 60 | |
| permissions: | |
| security-events: write | |
| packages: read | |
| actions: read | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7 | |
| with: | |
| languages: go | |
| build-mode: manual | |
| - name: Build manually | |
| shell: bash | |
| run: | | |
| go build -o /dev/null ./... | |
| cd cmd/node && go build -o /dev/null . | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7 | |
| with: | |
| category: "/language:go" |