chore(deps): bump org.liquibase:liquibase-core from 4.28.0 to 4.31.0 #96
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: Build Project | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
permissions: | |
pull-requests: read # allows SonarCloud to decorate PRs with analysis results | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# JDK16 is needed for the tests | |
- name: Set up JDK 16 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '16' | |
distribution: 'temurin' | |
cache: maven | |
- name: validate project | |
run: mvn validate | |
- name: compile project | |
run: mvn compile | |
- name: test project | |
run: mvn test -Pcoverage | |
# JDK 17 is needed for sonar analysis | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Analyze with SonarCloud | |
run: mvn sonar:sonar -Pcoverage | |
env: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |