build(deps): bump com.vanniktech.maven.publish:com.vanniktech.maven.publish.gradle.plugin from 0.34.0 to 0.36.0 #252
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: Test Branch | |
| on: | |
| pull_request: | |
| branches: | |
| - 'dev/**' | |
| paths: | |
| - '**.java' | |
| - '**.kt' | |
| - '**.kts' | |
| - '*/src/*/kotlin/**' | |
| - '*/src/*/java/**' | |
| - '*/src/*/resource/**' | |
| - 'gradle/**' | |
| concurrency: | |
| group: test-branch-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| JAVA_VERSION: 21 | |
| JAVA_DISTRIBUTION: zulu | |
| GRADLE_VERSION: 8.10.2 | |
| IS_CI: true | |
| GRADLE_OPTS: "-Dfile.encoding=UTF-8" | |
| jobs: | |
| build-test: | |
| name: Build and test | |
| strategy: | |
| matrix: | |
| os: [ macos-latest, windows-latest, ubuntu-latest ] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| # https://github.com/actions/checkout/issues/242#issuecomment-627501270 | |
| # fix `Filename too long` 👆 | |
| - name: git configure long path | |
| run: git config --global core.longpaths true | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: ${{ env.JAVA_DISTRIBUTION }} | |
| java-version: ${{ env.JAVA_VERSION }} | |
| cache: 'gradle' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| with: | |
| gradle-version: ${{ env.GRADLE_VERSION }} | |
| - name: Run all tests | |
| run: gradle assemble build allTests --info --warning-mode all | |
| - name: Upload test reports | |
| uses: actions/upload-artifact@v4 | |
| if: ${{ always() }} | |
| with: | |
| name: test-reports-${{ matrix.os }} | |
| path: '**/build/reports/tests' | |
| retention-days: 7 |