remove some of the panics in the code, return an error instead #3083
Workflow file for this run
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" ] | |
pull_request: | |
branches: [ "main" ] | |
schedule: | |
- cron: '39 22 * * 5' | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: 'ubuntu-latest' | |
timeout-minutes: 60 | |
permissions: | |
security-events: write | |
packages: read | |
actions: read | |
contents: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: go | |
build-mode: manual | |
- name: Build manually | |
shell: bash | |
run: | | |
go build -o fsccli ./cmd/fsccli | |
go build -o fscnode ./cmd/node | |
make download-fabric unit-tests | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:go" |