Skip to content

Add LambdaInternalExtension #325

Add LambdaInternalExtension

Add LambdaInternalExtension #325

Workflow file for this run

name: "CodeQL Security Scan"
permissions:
contents: read
security-events: write
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: github.repository == 'quarkusio/quarkus'
timeout-minutes: 120
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Reclaim Disk Space
run: .github/ci-prerequisites.sh
- name: Setup Java JDK
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 17
- name: Generate cache key
id: cache-key
run: |
CURRENT_BRANCH="${{ github.repository != 'quarkusio/quarkus' && 'fork' || github.base_ref || github.ref_name }}"
CURRENT_MONTH=$(/bin/date -u "+%Y-%m")
CURRENT_WEEK=$(/bin/date -u "+%Y-%U")
echo "m2-monthly-cache-key=m2-cache-${CURRENT_MONTH}" >> $GITHUB_OUTPUT
echo "m2-monthly-branch-cache-key=m2-cache-${CURRENT_MONTH}-${CURRENT_BRANCH}" >> $GITHUB_OUTPUT
echo "m2-cache-key=m2-cache-${CURRENT_MONTH}-${CURRENT_BRANCH}-${CURRENT_WEEK}" >> $GITHUB_OUTPUT
- name: Restore Maven Repository
uses: actions/cache/restore@v5
with:
path: ~/.m2/repository
key: ${{ steps.cache-key.outputs.m2-cache-key }}
restore-keys: |
${{ steps.cache-key.outputs.m2-monthly-branch-cache-key }}-
${{ steps.cache-key.outputs.m2-monthly-cache-key }}-
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: java-kotlin
queries: security-extended
- name: Build
run: |
./mvnw -T1C -e -B --settings .github/mvn-settings.xml --fail-at-end -DskipTests -DskipITs -Denforcer.skip -DskipDocs -Dforbiddenapis.skip -Dinvoker.skip -Dskip.gradle.tests -Djbang.skip -Dtruststore.skip -Dno-test-modules install
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4