Skip to content

CodeQL

CodeQL #1005

name: "CodeQL"
on:
schedule:
- cron: '0 2 * * *'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
check-latest: true
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# - name: Autobuild
# uses: github/codeql-action/autobuild@v3
- name: Build
run: |
make build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3