chore: migrar publicação para o novo Maven Central Portal (NMCP) #60
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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Java 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Check formatting (Spotless + Ktlint) | |
| run: ./gradlew spotlessCheck | |
| - name: Static analysis (Detekt) | |
| run: ./gradlew detekt | |
| - name: Build and test | |
| run: ./gradlew build | |
| - name: Test coverage verification (JaCoCo) | |
| run: ./gradlew jacocoTestCoverageVerification |