Skip to content

build(deps): bump github/codeql-action from 2 to 3 (#819) #1320

build(deps): bump github/codeql-action from 2 to 3 (#819)

build(deps): bump github/codeql-action from 2 to 3 (#819) #1320

name: "CodeQL"
on:
push:
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '17 3 * * 0'
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 repository
uses: actions/checkout@v4
- name: Setter opp Java 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
cache: maven
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: security-extended,security-and-quality
- name: Kompilerer
id: kompiler
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./mvnw --settings .github/settings.xml -Drevision=${TAG} package
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"