Skip to content

Added the main-lts branch to CI (#841) #1089

Added the main-lts branch to CI (#841)

Added the main-lts branch to CI (#841) #1089

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "main", "main-lts" ]
pull_request:
branches: [ "main", "main-lts" ]
schedule:
- cron: "2 0 * * 6"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ java ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"