Skip to content

codeql

codeql #256

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@v2
with:
languages: ${{ matrix.language }}
- uses: github/codeql-action/autobuild@v2
- uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"