Skip to content

Support absolute-paths in serializers #226

Support absolute-paths in serializers

Support absolute-paths in serializers #226

Workflow file for this run

name: check
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
permissions:
contents: read
actions: read
checks: write
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest ]
# The latest patch version of each minor version
liquibaseVersion: [ 4.26.0, 4.27.0, 4.28.0, 'latest' ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: setup gradle
uses: gradle/actions/setup-gradle@v4
- name: Run Test with specific Liquibase Version
if: ${{ matrix.liquibaseVersion != 'latest' }}
run: ./gradlew test -PliquibaseVersion="${{ matrix.liquibaseVersion }}"
- name: Run Test with latest Liquibase Version
if: ${{ matrix.liquibaseVersion == 'latest' }}
run: ./gradlew test
- name: Upload reports
if: failure()
uses: actions/upload-artifact@v4
with:
name: 'reports-${{ matrix.os }}-${{ matrix.liquibaseVersion }})'
path: ./**/build/reports
detekt:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: setup gradle
uses: gradle/actions/setup-gradle@v4
- name: Run detekt
run: ./gradlew detekt
- name: Upload reports
if: failure()
uses: actions/upload-artifact@v4
with:
name: test
path: ./**/build/reports
ktlint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: setup gradle
uses: gradle/actions/setup-gradle@v4
- name: Run ktlintCheck
run: ./gradlew ktlintCheck
- name: Upload reports
if: failure()
uses: actions/upload-artifact@v4
with:
name: test
path: ./**/build/reports