Skip to content

Commit

Permalink
Add CodeQL workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cgwalters committed Dec 12, 2022
1 parent 21338b2 commit e4319df
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

name: "CodeQL"

on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '30 1 * * 0'

jobs:
CodeQL:
runs-on: ubuntu-latest

permissions:
# required for all workflows
security-events: write
actions: read
contents: read

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: cpp

- name: Build
run: ./ci/build.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

0 comments on commit e4319df

Please sign in to comment.