Skip to content

CodeQL

CodeQL #45

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ '*' ]
paths: [ '**.go' ]
pull_request:
branches: [ '*' ]
schedule:
# run every Saturday at 00:00 UTC
- cron: '0 0 * * 6'
jobs:
Analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
# Learn more about CodeQL language support at https://git.io/codeql-language-support
language: [ 'go' ]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yaml
# Autobuild attempts to build any compiled languages (C/C++, C#, Java, etc).
# If this step fails, then you should remove it and run the build manually (see below)
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3