Skip to content

CodeQL

CodeQL #101

Workflow file for this run

name: "CodeQL"
on:
push:
branches: main
pull_request:
branches: main
schedule:
- cron: '38 21 * * 1'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
matrix:
go-version: [1.19]
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Go ${{ matrix.go-version }} environment
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: go
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2