fix: Restore upgrade testing suite for v3.x line (#789) #446
This file contains 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 | |
- develop | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
codeql-analysis: | |
name: "CodeQL Analysis" | |
runs-on: ubuntu-20.04 | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Setup CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: 'go' | |
queries: security-and-quality | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21 | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Required to fetch version | |
- name: Build | |
run: make proto-gen build | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |