Skip to content

Commit

Permalink
Merge pull request #45 from alaviss/push-lwqnllusrxop
Browse files Browse the repository at this point in the history
ci: add manual CodeQL integration
  • Loading branch information
alaviss authored Dec 17, 2024
2 parents 4886ee9 + e3877c0 commit 5ed32d7
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CodeQL

on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: 0 0 * * 1

jobs:
analyze:
name: CodeQL Analyze
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: sudo apt-get install -y --no-install-recommends libreadline-dev

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: c-cpp
queries: security-and-quality
build-mode: manual

- name: Build zForth
run: make

- name: CodeQL Analyze
uses: github/codeql-action/analyze@v3
with:
category: "/language:c-cpp"

0 comments on commit 5ed32d7

Please sign in to comment.