This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
build(deps): bump org.flywaydb:flyway-core from 5.2.4 to 9.22.1 #369
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: | |
pull_request: | |
branches: [ main ] | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [11, 17] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
check-latest: true | |
distribution: temurin | |
java-version: ${{ matrix.java }} | |
- uses: actions/cache@v3 | |
env: | |
cache-name: cache-maven-artifacts | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
- name: Build and run integration tests | |
run: | | |
mvn clean install -U | |
cd rest-webservice && mvn clean install -U | |
cd rest-integration-tests/src/test/resources/ && docker-compose up -d | |
sleep 10 | |
cd ../../../../../ && mvn -B --projects rest-webservice/rest-integration-tests -Pintegration surefire:test | |
- name: Run other Spring Boot tests | |
run: | | |
find ./webapp-springboot-thymeleaf/step* -maxdepth 0 -type d \( ! -name . \) -path ./webapp-springboot-thymeleaf/step14 -prune -o -exec bash -c "cd '{}' && pwd && mvn clean install -U" \; | |
find ./console-application-springboot/step* -maxdepth 0 -type d \( ! -name . \) -exec bash -c "cd '{}' && pwd && mvn clean install -U" \; |