Skip to content

Commit

Permalink
Merge pull request #69 from mach3-software/featrue_Codacy
Browse files Browse the repository at this point in the history
Code QL Analysis CI
  • Loading branch information
KSkwarczynski authored Jun 28, 2024
2 parents bcd4d75 + cedc345 commit 063ed88
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/CodeQL.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: "CodeQL C++ Analysis"

on:
schedule:
- cron: '0 0 * * 0' # Every Sunday at midnight

jobs:
analyze:
name: Analyze C++ Code with CodeQL
runs-on: ubuntu-latest
container:
image: ghcr.io/mach3-software/mach3:alma9latest
permissions:
security-events: write
packages: read
actions: read
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: c-cpp
build: none # Specify build none to skip any build steps

- name: Build Code
run: |
mkdir build
cd build
cmake ..
make
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

0 comments on commit 063ed88

Please sign in to comment.