Skip to content

feat(ci): test 52 upgrade #13

feat(ci): test 52 upgrade

feat(ci): test 52 upgrade #13

Workflow file for this run

name: CodeQL Lint (Go, No Security Alerts)
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
jobs:
codeql-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
id: codeql-init
with:
db-location: ./tests/simapp/codeql-db
token: ${{ secrets.GITHUB_TOKEN }}
languages: go
source-root: ./tests/simapp
build-mode: manual
packs: skip-mev/cosmos-52-ql
- name: Build (Make Install)
working-directory: ./tests/simapp
run: |
go build ./connectd/...
- name: Analyze
working-directory: ./tests/simapp
run: |
echo $PWD
ls $PWD
${{ steps.codeql-init.outputs.codeql-path }} database finalize \
codeql-db/go
${{ steps.codeql-init.outputs.codeql-path }} database analyze \
--format=csv\
--output=codeql-results.csv \
codeql-db/go \
skip-mev/cosmos-52-ql
- name: Install jq
uses: dcarbone/[email protected]
- name: Add problem matcher
run: echo "::add-matcher::.github/52-problem-matcher.json"
- name: Annotate code with findings
working-directory: ./tests/simapp
run: |
set -eoux pipefail
cat codeql-results.csv