Rename itext7-core dependency to itext-core #12
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: Backend CI | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'backend/**' | |
| - '.github/workflows/backend-ci.yml' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'backend/**' | |
| - '.github/workflows/backend-ci.yml' | |
| defaults: | |
| run: | |
| working-directory: backend | |
| jobs: | |
| check: | |
| name: Build and test | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| actions: read | |
| checks: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-tags: true | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 25 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v6 | |
| - name: Check formatting | |
| run: ./gradlew spotlessCheck | |
| - name: Build and check | |
| run: ./gradlew check | |
| - name: Upload coverage to Codecov | |
| if: always() | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| files: backend/build/reports/jacoco/test/jacocoTestReport.xml | |
| flags: backend | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| - name: Upload test results to Codecov | |
| if: always() | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| directory: backend | |
| flags: backend | |
| report_type: test_results | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| - name: Upload generated PDFs | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: generated-pdfs | |
| path: backend/build/test-output/ | |
| if-no-files-found: ignore |