Skip to content

CodeQL

CodeQL #62

Workflow file for this run

name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "0 8 * * 1"
permissions:
contents: read
security-events: write
actions: read
jobs:
analyze:
name: Analyze (Go)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: go
build-mode: manual
- name: Build both modules
run: |
cd plugin && go build ./... && cd ..
cd sidecar && go build ./... && cd ..
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:go"