Skip to content

Initial commit

Initial commit #10

Workflow file for this run

name: CodeQL
# Static security analysis via GitHub CodeQL.
# Runs on push/PR to main and weekly to catch newly-published CVEs.
# Only the starter module is analysed; the sample application is excluded
# because it requires external Embabel snapshot artifacts.
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 9 * * 1'
permissions:
contents: read
security-events: write
actions: read
jobs:
analyze:
name: Analyze Java (CodeQL)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
cache: maven
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java
queries: security-extended
- name: Install parent POM
run: mvn -N install -q
- name: Build starter for CodeQL
run: mvn -B -DskipTests compile -pl embabel-workflow-visualizer-starter
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v3
with:
category: /language:java