Skip to content

CodeQL

CodeQL #283

Workflow file for this run

name: CodeQL
on:
push:
branches:
- master
- build/*
pull_request:
branches:
- master
schedule:
- cron: "41 10 * * 0"
jobs:
codeql:
name: CodeQL
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: ["go"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
# workaround for https://github.com/github/codeql/issues/15647
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Initialize
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Analysis
uses: github/codeql-action/analyze@v3