Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/codeql.yml
diff options
context:
space:
mode:
authorLeitwolf112026-09-26 16:56:52 +0300
committerLeitwolf112026-09-26 16:56:52 +0300
commitf5e8586fc5640d21798ce4ab1229d1b9387665d1 (patch)
treeedcd837900c35013f605fd7887300f6578a6bb98 /.github/workflows/codeql.yml
parent6e8e2fd83c5cf7d625b532580cfb896d6f5ead0b (diff)
downloadcatch3-f5e8586fc5640d21798ce4ab1229d1b9387665d1.tar.gz
Add CodeQL, Codecov, Dependabot, Codacy and contribution checks for Catch3
Diffstat (limited to '.github/workflows/codeql.yml')
-rw-r--r--.github/workflows/codeql.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
new file mode 100644
index 00000000..a9f409f0
--- /dev/null
+++ b/.github/workflows/codeql.yml
@@ -0,0 +1,33 @@
+# SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com>
+# SPDX-License-Identifier: MPL-2.0 WITH AdditionRef-Progmasoft-Exception-1.1
+
+name: CodeQL
+on:
+ push:
+ pull_request:
+ schedule:
+ - cron: '31 4 * * 1'
+permissions:
+ actions: read
+ contents: read
+ security-events: write
+jobs:
+ analyze:
+ name: ${{ matrix.language }}
+ runs-on: macos-15
+ strategy:
+ fail-fast: false
+ matrix:
+ language: [actions, c-cpp]
+ steps:
+ - uses: actions/checkout@v7
+ - uses: github/codeql-action/init@7999b86c43a865dc79d8923397f35af22de63401 # v4
+ with:
+ languages: ${{ matrix.language }}
+ build-mode: none
+ config-file: ./.github/codeql/codeql-config.yml
+ queries: security-extended
+ - uses: github/codeql-action/analyze@7999b86c43a865dc79d8923397f35af22de63401 # v4
+ with:
+ category: /language:${{ matrix.language }}
+