--- /dev/null
+# SPDX-License-Identifier: LGPL-2.1-only
+#
+# Continuous Integration Workflow for libcgroup
+#
+# Copyright (c) 2020-2023 Oracle and/or its affiliates.
+# Author: Tom Hromatka <tom.hromatka@oracle.com>
+# Author: Kamalesh Babulal <kamalesh.babulal@oracle.com>
+#
+
+name: "CodeQL"
+on: ["push", "pull_request"]
+
+jobs:
+ codeql:
+ name: CodeQL
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ submodules: false
+ - uses: github/codeql-action/init@v2
+ with:
+ languages: cpp, python
+ - name: Initialize the directory
+ uses: ./.github/actions/setup-libcgroup
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v2
on: ["push", "pull_request"]
jobs:
- codeql:
- name: CodeQL
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v3
- with:
- submodules: false
- - uses: github/codeql-action/init@v2
- with:
- languages: cpp, python
- - name: Initialize the directory
- uses: ./.github/actions/setup-libcgroup
- - name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v2
-
# Doc: https://github.com/redhat-plumbers-in-action/differential-shellcheck#usage
differential-shellcheck:
name: Differential ShellCheck
[](https://github.com/libcgroup/libcgroup/actions)
[](https://coveralls.io/github/libcgroup/libcgroup)
[](https://libcgroup.github.io/libcgroup/)
-[](https://lgtm.com/projects/g/libcgroup/libcgroup/alerts/?mode=list&lang=cpp)
-[](https://lgtm.com/projects/g/libcgroup/libcgroup/alerts/?mode=list&lang=python)
+[CodeQL](https://github.com/libcgroup/libcgroup/actions/workflows/codeql-analysis.yml/badge.svg?branch=main)
The entire libcgroup README is available [here](README).