Update dependency gradle to v8.12 #855
Workflow file for this run
This file contains 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_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- name: Build and publish core in local Maven repository | |
run: ./gradlew publishToMavenLocal -PskipSigning | |
working-directory: ./poetimizely-core | |
- name: Spotless core | |
run: ./gradlew spotlessCheck | |
working-directory: ./poetimizely-core | |
- name: Spotless gradle-plugin | |
run: ./gradlew spotlessCheck | |
working-directory: ./poetimizely-gradle-plugin | |
- name: Spotless maven-plugin | |
run: ./mvnw spotless:check | |
working-directory: ./poetimizely-maven-plugin | |
- name: Test core | |
run: ./gradlew test | |
working-directory: ./poetimizely-core | |
- name: Test gradle-plugin | |
run: ./gradlew test | |
working-directory: ./poetimizely-gradle-plugin | |
- name: Test maven-plugin | |
run: ./mvnw test | |
working-directory: ./poetimizely-maven-plugin | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |