Skip to content

analyze

analyze #3552

Workflow file for this run

name: analyze
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '15 */4 * * *'
permissions:
contents: read
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 Code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Initialize CodeQL
uses: github/codeql-action/init@ff3337ee1b38c9bcf43046bde6450e50c5e88ebb # v2.12.0
with:
languages: ${{matrix.language}}
- name: Autobuild
uses: github/codeql-action/autobuild@ff3337ee1b38c9bcf43046bde6450e50c5e88ebb # v2.12.0
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@ff3337ee1b38c9bcf43046bde6450e50c5e88ebb # v2.12.0
with:
category: "/language:${{matrix.language}}"