Skip to content

CodeQL

CodeQL #2229

name: CodeQL
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 9 * * *'
workflow_dispatch:
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'go', 'typescript' ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
# Avoid https://github.com/github/codeql/issues/13992
go-version-file: go.mod
- uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# See https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
queries: +security-extended,security-and-quality
- uses: github/codeql-action/analyze@v3