Skip to content

CodeQL

CodeQL #260

Workflow file for this run

name: 'CodeQL'
on:
push:
branches:
- 'master'
pull_request:
branches:
- 'master'
merge_group:
branches:
- 'master'
schedule:
- cron: '0 0 * * 1'
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: 'Harden Runner'
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: 'audit'
- name: 'Checkout'
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: 'Initialize CodeQL'
uses: github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
with:
languages: ${{ matrix.language }}
- name: 'Build'
uses: github/codeql-action/autobuild@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
- name: 'Perform CodeQL Analysis'
uses: github/codeql-action/analyze@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
with:
category: "/language:${{matrix.language}}"