BAH-3884 | Add. Bump Java 11 -> 17, Spring 5.3 -> 6.0 #150
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: Validate PR | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build-package: | |
name: Build Package | |
runs-on: ubuntu-latest | |
services: | |
mysql: | |
image: mysql:5.6 | |
env: | |
MYSQL_ROOT_PASSWORD: root | |
ports: | |
- 3306:3306 | |
steps: | |
- name: Setup Java 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Test and build package | |
run: ./mvnw -T 4 --no-transfer-progress clean install -U |