Skip to content

[WIP] CI

[WIP] CI #13526

Workflow file for this run

name: "CodeQL"
on:
push:
branches:
- master
- release/*
pull_request:
branches:
- master
- release/*
types:
- opened
- reopened
- synchronize
- ready_for_review
workflow_dispatch:
merge_group:
types:
- checks_requested
jobs:
analyze:
name: Analyze
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
language: [go]
runs-on: ${{ matrix.os }}
timeout-minutes: 90 # windows Autobuild time increase by 20 minutes https://codeql.github.com/docs/codeql-overview/codeql-changelog/codeql-cli-2.16.4/#golang-1
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: "1.22"
check-latest: true
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: ./codeql/
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"