diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..3db924b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,32 @@ +name: build + +on: [ push ] + +jobs: + build: + strategy: + fail-fast: false + matrix: + # todo version ranges may be better, but they don't work with dependencyManagement in maven 3 + version: + - '2.7.15' + - '3.0.10' + os: + - ubuntu-latest + - windows-latest + + runs-on: ${{ matrix.os }} + + steps: + + - uses: actions/checkout@v3 + + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + cache: maven + + - name: Build with Maven + run: ./mvnw test -D"spring.boot.version=${{ matrix.version }}"