Skip to content

CodeQL

CodeQL #251

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "microsoft/main", "microsoft/nightly" ]
pull_request:
branches: [ "microsoft/main", "microsoft/nightly" ]
schedule:
- cron: '16 3 * * 2'
jobs:
analyze:
name: Analyze Go
runs-on: 'ubuntu-latest'
timeout-minutes: 360
permissions:
# required for all workflows
security-events: write
# only required for workflows in private repositories
actions: read
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: go
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:go"