Add licensing, versioning and tests #14
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: build | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| merge_group: | |
| types: [checks_requested] | |
| jobs: | |
| tests-ubuntu: | |
| uses: ./.github/workflows/test.yml | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| javaVersion: ['11', '17', '21'] | |
| with: | |
| os: linux-ubuntu-latest | |
| javaVersion: ${{ matrix.javaVersion }} | |
| tests-windows: | |
| uses: ./.github/workflows/test.yml | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| javaVersion: ['11', '17', '21'] | |
| with: | |
| os: windows-server-latest | |
| javaVersion: ${{ matrix.javaVersion }} | |
| fmt: | |
| runs-on: | |
| group: databricks-protected-runner-group | |
| labels: linux-ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 11 | |
| distribution: 'temurin' | |
| cache: 'maven' | |
| - name: Check formatting | |
| run: mvn spotless:check | |
| - name: Fail on formatting differences | |
| if: failure() | |
| run: | | |
| echo "Code formatting issues detected. Run 'mvn spotless:apply' to fix." | |
| exit 1 |