chore(deps): bump kotlin from 1.7.10 to 2.0.21 #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# SPDX-FileCopyrightText: 2024 INFO | |
# SPDX-License-Identifier: EUPL-1.2+ | |
# | |
name: "CodeQL" | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
# ignore code analysis when only Markdown files have changed | |
paths-ignore: | |
- '**/*.md' | |
merge_group: | |
schedule: | |
- cron: "21 11 * * 0" | |
env: | |
JAVA_VERSION: "18" | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ["java-kotlin", "javascript-typescript"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup JDK | |
if: matrix.language == 'java-kotlin' | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ env.JAVA_VERSION }} | |
distribution: "temurin" | |
- name: Setup Gradle | |
if: matrix.language == 'java-kotlin' | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v3 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:${{matrix.language}}" |