Skip to content

Commit

Permalink
Integrate CodeQL to analyze the code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcouture committed Sep 7, 2023
1 parent 61349db commit 4760509
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CodeQL

on:
push:
branches:
- main
pull_request:
branches:
- "**"
schedule:
- cron: "43 13 * * 0"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
analyze:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language:
- go

steps:
- uses: actions/checkout@v3
- uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- uses: github/codeql-action/autobuild@v2
- uses: github/codeql-action/analyze@v2
with:
category: /language:${{matrix.language}}

0 comments on commit 4760509

Please sign in to comment.