Merge pull request #150 from White-Whale-Defi-Platform/ibc-hooks #217
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: | |
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@v4 | |
with: | |
go-version: 1.19 | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
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@v2 |