Skip to content

Exam mode: Merge student exams page into students page #79224

Exam mode: Merge student exams page into students page

Exam mode: Merge student exams page into students page #79224

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [develop, main]
paths-ignore:
- 'README.md'
- 'CODE_OF_CONDUCT.md'
- 'CONTRIBUTING.md'
- 'LICENSE'
- 'SECURITY.md'
- 'documentation/**'
- '.github/**'
- '!.github/workflows/codeql-analysis.yml'
pull_request:
# The branches below must be a subset of the branches above
branches: [develop]
paths-ignore:
- 'README.md'
- 'CODE_OF_CONDUCT.md'
- 'CONTRIBUTING.md'
- 'LICENSE'
- 'SECURITY.md'
- 'documentation/**'
- '.github/**'
- '!.github/workflows/codeql-analysis.yml'
schedule:
- cron: '0 16 * * 0'
# Keep in sync with build.yml and test.yml and analysis-of-endpoint-connections.yml
env:
CI: true
node: 24
java: 21
jobs:
analyse:
name: Analyse
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '${{ env.node }}'
cache: 'npm'
# Install Java
- name: Setup Java
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '${{ env.java }}'
cache: 'gradle'
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
# Override language selection by uncommenting this and choosing your languages
with:
languages: javascript, java
# Build Angular client separately so esbuild gets full system memory without
# competing with the Gradle JVM (which reserves up to 4g).
- name: Install npm dependencies
run: npm install
- name: Build Angular Client
run: npm run clean-www && npm run prebuild && npx ng build --configuration production --optimization=false
- name: Build Java
run: ./gradlew -Pprod -Pwar bootWar -x webapp
- run: rm -rf build/resources/main/static
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4