Skip to content

Isolating to java, messing with the order of operations, removing gra… #16

Isolating to java, messing with the order of operations, removing gra…

Isolating to java, messing with the order of operations, removing gra… #16

name: "GitHub Advanced Security - CodeQL"

Check failure on line 1 in .github/workflows/codeql-advanced-security.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/codeql-advanced-security.yml

Invalid workflow file

(Line: 34, Col: 21): Unexpected value 'java-kotlin', (Line: 35, Col: 23): Unexpected value 'autobuild'
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
# schedule:
# Run CodeQL analysis every day at 2 AM UTC
# - cron: '0 2 * * *'
# Enable GitHub Advanced Security features
permissions:
actions: read
contents: read
security-events: write
pull-requests: write
jobs:
analyze:
name: CodeQL Analysis for Java
runs-on: 'ubuntu-latest'
continue-on-error: true
# runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
pull-requests: write
strategy:
fail-fast: false
matrix:
language: java-kotlin
build-mode: autobuild
# Define the matrix of languages to analyze
# language: ['java', 'cpp', 'swift', 'javascript']
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
# Fetch full history for better analysis
fetch-depth: 0
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.langauge }}
build-mode: ${{ matrix.build-mode }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3