Use JsonIOException for unchecked exceptions instead of RuntimeException in ConstructorConstructor #1607
Workflow file for this run
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
# Based on default config generated by GitHub, see also https://github.com/github/codeql-action | |
name: "CodeQL" | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
schedule: | |
# Run every Monday at 16:10 | |
- cron: '10 16 * * 1' | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'java' ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'maven' | |
# Initializes the CodeQL tools for scanning | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10 | |
with: | |
languages: ${{ matrix.language }} | |
# Run all security queries and maintainability and reliability queries | |
queries: +security-and-quality | |
# Only compile main sources, but ignore test sources because findings for them might not | |
# be that relevant (though GitHub security view also allows filtering by source type) | |
# Can replace this with github/codeql-action/autobuild action to run complete build | |
- name: Compile sources | |
run: | | |
mvn compile --batch-mode --no-transfer-progress | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10 |