feat: add feature to detect runtime generated classes (#64) #210
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: code-quality | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
jobs: | |
spotless: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'oracle' | |
java-version: '17' | |
- name: Run spotless check | |
run: mvn spotless:check | |
codeql: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# By default, the java version is 11, but we need 17 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'oracle' | |
java-version: '17' | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: java | |
- run: mvn clean install -DskipTests | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |