Skip to content

CodeQL Analysis

CodeQL Analysis #229

name: 'CodeQL Analysis'
on:
schedule: [ cron: '30 2 * * *' ] # run every day at 2:30 UTC
# push:
# branches: [ main ]
# paths-ignore:
# - '**/*_test.go'
# - './*.yaml'
# - './*.yml'
# - '*.md'
# - 'tools/**'
# - LICENSE
# pull_request:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: go
build-mode: autobuild
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3