feat: added logging in the drive subsystem for advantage scope #338
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: Java CI with Gradle | |
| on: | |
| push: | |
| branches: ["main", "dev"] | |
| pull_request: | |
| branches: ["main", "dev"] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: "17" | |
| distribution: "temurin" | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 | |
| - name: Build with Gradle Wrapper | |
| run: ./gradlew clean build | |
| - name: Run PMD Analysis | |
| run: ./gradlew pmdMain | |
| - name: Upload PMD Report | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: pmd-report | |
| path: build/reports/pmd.html | |
| - name: Run SpotBugs Analysis | |
| run: ./gradlew spotbugsMain | |
| - name: Upload SpotBugs Report | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: spotbugs-report | |
| path: build/reports/spotbugs.html | |
| dependency-submission: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: "17" | |
| distribution: "temurin" | |
| - name: Generate and submit dependency graph | |
| uses: gradle/actions/dependency-submission@af1da67850ed9a4cedd57bfd976089dd991e2582 |