ci: stop firing full e2e-prod live suite on every API build (revert #275 dispatch) #553
Workflow file for this run
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: [master, main] | |
| pull_request: | |
| branches: [master, main] | |
| schedule: | |
| - cron: '17 6 * * 1' | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| jobs: | |
| analyze: | |
| name: Analyze (Go) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout this repo | |
| uses: actions/checkout@v6 | |
| with: | |
| path: api | |
| - name: Checkout sibling InstaNode-dev/common | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: InstaNode-dev/common | |
| path: common | |
| - name: Checkout sibling InstaNode-dev/proto | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: InstaNode-dev/proto | |
| path: proto | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: api/go.mod | |
| - uses: github/codeql-action/init@v4 | |
| with: | |
| languages: go | |
| queries: security-extended | |
| - name: Build | |
| working-directory: api | |
| run: go build ./... | |
| - uses: github/codeql-action/analyze@v4 | |
| with: | |
| category: "/language:go" |