Skip to content

CodeQL

CodeQL #11830

Workflow file for this run

---
name: CodeQL
'on':
schedule:
- cron: 0 9 * * *
jobs:
codeql-cpp:
name: C++
runs-on: ubuntu-22.04
environment: test
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Qt
uses: jurplel/install-qt-action@v3
with:
version: '6.*'
cache: true
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: cpp
tools: latest
- name: Remove irrelevant Makefile
run: |
rm -f $(git ls-files "*Makefile")
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: CodeQL
uses: github/codeql-action/analyze@v2
codeql-go:
name: Go
runs-on: ubuntu-22.04
environment: test
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: go
tools: latest
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: CodeQL
uses: github/codeql-action/analyze@v2
codeql-java:
name: Java
runs-on: ubuntu-22.04
environment: test
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: corretto
java-version: '17'
cache: gradle
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: java
tools: latest
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: CodeQL
uses: github/codeql-action/analyze@v2
codeql-javascript:
name: JavaScript
runs-on: ubuntu-22.04
environment: test
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: javascript
tools: latest
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: CodeQL
uses: github/codeql-action/analyze@v2
codeql-python:
name: Python
runs-on: ubuntu-22.04
environment: test
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: python
tools: latest
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: CodeQL
uses: github/codeql-action/analyze@v2
codeql-ruby:
name: Ruby
runs-on: ubuntu-22.04
environment: test
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ruby
tools: latest
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: CodeQL
uses: github/codeql-action/analyze@v2