Merge pull request #183 from terpnetwork/v4.2.0 #72
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 for cosmos" | |
on: | |
pull_request: | |
paths: | |
- "**.go" | |
push: | |
branches: | |
- main | |
- release/v* | |
paths: | |
- "**.go" | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.20" | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: "go" | |
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality | |
- name: Build | |
run: make build | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |