Skip to content

codeql

codeql #300

Workflow file for this run

name: codeql
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: 30 1 * * *
jobs:
main:
defaults:
run:
shell: bash
permissions:
actions: read
contents: read
security-events: write
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
strategy:
fail-fast: false
matrix:
language:
- go
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
steps:
- uses: actions/checkout@v4
- uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- uses: github/codeql-action/autobuild@v3
- uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"