Skip to content

Commit

Permalink
Merge pull request #28 from sapcc/add_codeql
Browse files Browse the repository at this point in the history
Ad CodeQL check
  • Loading branch information
jknipper authored Sep 3, 2024
2 parents 243ab70 + 536e4a0 commit 32d785c
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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

0 comments on commit 32d785c

Please sign in to comment.