Skip to content

CodeQL

CodeQL #42

Workflow file for this run

name: "CodeQL"
on:
pull_request:
branches:
- main
schedule:
- cron: '31 10 * * 0'
permissions:
contents: read
jobs:
codeql:
name: CodeQL
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
go: [ '1.21', '1.20' ]
steps:
- name: Checkout repository
uses: actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6 # pin@master
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@6f5223db54afb6bccb7b88162896588caa1f611b # pin@master
with:
languages: go
- name: Autobuild
uses: github/codeql-action/autobuild@6f5223db54afb6bccb7b88162896588caa1f611b # pin@master
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@6f5223db54afb6bccb7b88162896588caa1f611b # pin@master