Infer #23
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: Infer | |
| 'on': | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| run_infer: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 21 | |
| distribution: 'temurin' | |
| - name: Set up infer | |
| uses: srz-zumix/setup-infer@v1 | |
| - name: Display infer version | |
| run: | | |
| which infer | |
| infer --version | |
| - name: Run infer | |
| run: | | |
| mvn clean | |
| infer --fail-on-issue --print-logs --no-progress-bar -- mvn test | |
| ... |