Merge pull request #608 from kagemomiji/dependabot/maven/org.springfr… #805
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
name: "CodeQL" | |
on: | |
push: | |
branches: [ 'main' ] | |
paths-ignore: | |
- "**.md" | |
- "*.txt" | |
- ".github/**" | |
pull_request: | |
branches: [ 'main' ] | |
paths-ignore: | |
- "**.md" | |
- "*.txt" | |
- ".github/**" | |
schedule: | |
- cron: '0 19 * * 6' | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'javascript', 'java' ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
- if: matrix.language == 'java' | |
name: Build | |
run: mvn package -DskipTests -Dcheckstyle.skip=true | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:${{matrix.language}}" |