Move plugins into versions catalogue. #1165
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: Build and Test | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| - 1.x | |
| - 2.x | |
| - 3.x | |
| push: | |
| branches: | |
| - master | |
| - 1.x | |
| - 2.x | |
| - 3.x | |
| - feature/** | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 11 | |
| - name: Set up Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| - name: ⚙️ Run build | |
| run: ./gradlew build --no-daemon --scan --write-locks | |
| - name: Publish Test Report | |
| uses: mikepenz/action-junit-report@v6 | |
| if: always() | |
| with: | |
| report_paths: '**/build/test-results/*/*.xml' | |
| require_tests: true | |
| - name: Create Test Summary | |
| uses: test-summary/action@v2 | |
| with: | |
| paths: '**/build/test-results/*/*.xml' | |
| if: always() | |
| - name: Code Coverage | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |