Skip to content

Merge pull request #28 from sapcc/add_codeql #2

Merge pull request #28 from sapcc/add_codeql

Merge pull request #28 from sapcc/add_codeql #2

Workflow file for this run

name: CodeQL
"on":
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '00 07 * * 1'
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: CodeQL
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
check-latest: true
go-version: 1.22.6
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: go
queries: security-extended
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3