tokens: transactional core is untested and the package carries dead declarations and an unused generated mock #10970
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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - 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" |