Merge pull request #3576 from onflow/supun/export-tests #8118
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: "Code scanning" | |
on: | |
push: | |
branches: | |
- master | |
- 'feature/**' | |
- 'v**' | |
pull_request: | |
branches: | |
- master | |
- 'feature/**' | |
- 'v**' | |
env: | |
GO_VERSION: '1.22' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
CodeQL-Build: | |
name: CodeQL | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
cache: true | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: go | |
- name: Build | |
run: make build | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |