Improve the on the fly call graph code a bit #85
Workflow file for this run
This file contains hidden or 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: Codestyle etc. | |
| on: [ pull_request ] | |
| jobs: | |
| check-formatting: | |
| runs-on: ubuntu-latest | |
| name: Check style | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v4 | |
| - name: Set up Java 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: adopt | |
| java-package: jdk | |
| java-version: 17 | |
| cache: maven | |
| # Checks that the code sticks to a common code style | |
| - name: Run spotless checks | |
| run: mvn spotless:check || echo "Check the formatting. Use mvn spotless:apply to format the code." | |
| # Runs Maven's dependency analysis to identify unused and undeclared dependencies and fails the build if there are any warnings. | |
| - name: Run dependency analysis | |
| run: mvn dependency:analyze -DfailOnWarning |