.github/workflows/codeql.yml
---
name: CodeQL
'on':
schedule:
- cron: 0 9 * * *
jobs:
codeql-c-cpp:
name: C, C++
runs-on: ubuntu-22.04
environment: test
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
- name: Set up Node.js
uses: actions/setup-node@v4.0.4
with:
node-version-file: .nvmrc
cache: npm
cache-dependency-path: package-lock.json
- name: Set up Qt
uses: jurplel/install-qt-action@v4.0.0
with:
version: 6.6.1
cache: true
- name: Initialize CodeQL
uses: github/codeql-action/init@v3.26.12
with:
languages: c-cpp
tools: latest
- name: Remove irrelevant Makefile
run: |
rm -f $(git ls-files "**/Makefile")
- name: Autobuild
uses: github/codeql-action/autobuild@v3.26.12
- name: CodeQL
uses: github/codeql-action/analyze@v3.26.12
codeql-go:
name: Go
runs-on: ubuntu-22.04
environment: test
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
- name: Initialize CodeQL
uses: github/codeql-action/init@v3.26.12
with:
languages: go
tools: latest
- name: Autobuild
uses: github/codeql-action/autobuild@v3.26.12
- name: CodeQL
uses: github/codeql-action/analyze@v3.26.12
codeql-java-kotlin:
name: Java, Kotlin
runs-on: ubuntu-22.04
environment: test
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
- name: Set up Java
uses: actions/setup-java@v4.4.0
with:
distribution: corretto
java-version: '17'
cache: gradle
- name: Initialize CodeQL
uses: github/codeql-action/init@v3.26.12
with:
languages: java-kotlin
tools: latest
- name: Autobuild
uses: github/codeql-action/autobuild@v3.26.12
- name: CodeQL
uses: github/codeql-action/analyze@v3.26.12
codeql-javascript-typescript:
name: JavaScript, TypeScript
runs-on: ubuntu-22.04
environment: test
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
- name: Initialize CodeQL
uses: github/codeql-action/init@v3.26.12
with:
languages: javascript-typescript
tools: latest
- name: Autobuild
uses: github/codeql-action/autobuild@v3.26.12
- name: CodeQL
uses: github/codeql-action/analyze@v3.26.12
codeql-python:
name: Python
runs-on: ubuntu-22.04
environment: test
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
- name: Initialize CodeQL
uses: github/codeql-action/init@v3.26.12
with:
languages: python
tools: latest
- name: Autobuild
uses: github/codeql-action/autobuild@v3.26.12
- name: CodeQL
uses: github/codeql-action/analyze@v3.26.12
codeql-ruby:
name: Ruby
runs-on: ubuntu-22.04
environment: test
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
- name: Initialize CodeQL
uses: github/codeql-action/init@v3.26.12
with:
languages: ruby
tools: latest
- name: Autobuild
uses: github/codeql-action/autobuild@v3.26.12
- name: CodeQL
uses: github/codeql-action/analyze@v3.26.12
codeql-swift:
name: Swift
runs-on: macos-13
environment: test
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
- name: Initialize CodeQL
uses: github/codeql-action/init@v3.26.12
with:
languages: swift
tools: latest
- name: Autobuild
uses: github/codeql-action/autobuild@v3.26.12
- name: CodeQL
uses: github/codeql-action/analyze@v3.26.12