Fix detekt deprecation warnings #2363 #1384
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: Test dependency versions | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
guava: | |
name: Test Guava versions | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
test-version: [ 31.1-jre, 32.0.1-jre ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: maven | |
- name: Build | |
env: | |
MAVEN_CONFIG: "-B -fae" | |
run: | | |
make install-fast | |
- name: Test | |
env: | |
MAVEN_CONFIG: "-B -fae -pl :jdbi3-guava,:jdbi3-guice -Ddep.guava.version=${{ matrix.test-version }}" | |
run: | | |
make run-tests | |
immutables: | |
name: Test Immutables versions | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
test-version: [ 2.10.0-rc1, 2.9.3, 2.8.9-ea-1 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: maven | |
- name: Build | |
env: | |
MAVEN_CONFIG: "-B -fae" | |
run: | | |
make install-fast | |
- name: Test | |
env: | |
MAVEN_CONFIG: "-B -fae -pl :jdbi3-core -Ddep.immutables.version=${{ matrix.test-version }}" | |
run: | | |
make run-tests | |
jackson2: | |
name: Test Jackson Versions | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
test-version: [ 2.15.2, 2.14.3, 2.13.5 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: maven | |
- name: Build | |
env: | |
MAVEN_CONFIG: "-B -fae" | |
run: | | |
make install-fast | |
- name: Test | |
env: | |
MAVEN_CONFIG: "-B -fae -pl :jdbi3-jackson2 -Ddep.jackson2.version=${{ matrix.test-version }}" | |
run: | | |
make run-tests | |
jodatime2: | |
name: Test joda-time versions | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
test-version: [ 2.11.2, 2.10.14, 2.9.9 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: maven | |
- name: Build | |
env: | |
MAVEN_CONFIG: "-B -fae" | |
run: | | |
make install-fast | |
- name: Test | |
env: | |
MAVEN_CONFIG: "-B -fae -pl :jdbi3-jodatime2 -Ddep.joda-time.version=${{ matrix.test-version }}" | |
run: | | |
make run-tests | |
vavr: | |
name: Test vavr versions | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
test-version: [ 0.10.4 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: maven | |
- name: Build | |
env: | |
MAVEN_CONFIG: "-B -fae" | |
run: | | |
make install-fast | |
- name: Test | |
env: | |
MAVEN_CONFIG: "-B -fae -pl :jdbi3-vavr -Ddep.vavr.version=${{ matrix.test-version }}" | |
run: | | |
make run-tests | |
guice: | |
name: Test guice versions | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
test-version: [ 6.0.0, 7.0.0 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: maven | |
- name: Build | |
env: | |
MAVEN_CONFIG: "-B -fae" | |
run: | | |
make install-fast | |
- name: Test | |
env: | |
MAVEN_CONFIG: "-B -fae -pl :jdbi3-guice -Ddep.guice.version=${{ matrix.test-version }}" | |
run: | | |
make run-tests | |
kotlin: | |
name: Test kotlin runtime versions | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
test-version: [ 1.6.21, 1.7.21, 1.8.22, 1.9.10 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: maven | |
- name: Build | |
env: | |
MAVEN_CONFIG: "-B -fae" | |
run: | | |
make install-fast | |
- name: Test | |
env: | |
MAVEN_CONFIG: "-B -fae -pl :jdbi3-kotlin,:jdbi3-kotlin-sqlobject -Ddep.kotlin.version=${{ matrix.test-version }}" | |
run: | | |
make run-tests | |
spring: | |
name: Test spring framework versions | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
test-version: [ 5.3.30, 6.0.12 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: maven | |
- name: Build | |
env: | |
MAVEN_CONFIG: "-B -fae" | |
run: | | |
make install-fast | |
- name: Test | |
env: | |
MAVEN_CONFIG: "-B -fae -pl :jdbi3-spring5 -Ddep.spring.version=${{ matrix.test-version }}" | |
run: | | |
make run-tests |