Skip to content

CodeQL

CodeQL #28

Workflow file for this run

# .github/workflows/codeql.yml
name: "CodeQL"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '43 0 * * 5'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- run: |
make build
- uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"