Skip to content

Commit

Permalink
Update Scala, libs and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
guizmaii committed Oct 24, 2023
1 parent 7be189f commit f281725
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 13 deletions.
34 changes: 24 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ jobs:
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Scala and Java
uses: olafurpg/setup-scala@v14
- name: Setup Scala
uses: actions/[email protected]
with:
distribution: corretto
java-version: '17'
check-latest: true
- name: Cache Scala dependencies
uses: coursier/cache-action@v6
- name: Lint code
Expand All @@ -34,8 +38,12 @@ jobs:
steps:
- name: Checkout current branch
uses: actions/[email protected]
- name: Setup Scala and Java
uses: olafurpg/setup-scala@v14
- name: Setup Scala
uses: actions/[email protected]
with:
distribution: corretto
java-version: '17'
check-latest: true
- name: Cache scala dependencies
uses: coursier/cache-action@v6
- name: Check Document Generation
Expand All @@ -47,18 +55,20 @@ jobs:
strategy:
fail-fast: false
matrix:
java: ['[email protected]', '[email protected]']
scala: ['2.12.17', '2.13.10', '3.2.1']
java: ['11', '17', '21']
scala: ['2.12.18', '2.13.12', '3.3.1']
platform: ['JVM']
steps:
- name: Checkout current branch
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Scala and Java
uses: olafurpg/setup-scala@v14
- name: Setup Scala
uses: actions/setup-[email protected]
with:
distribution: corretto
java-version: ${{ matrix.java }}
check-latest: true
- name: Cache Scala dependencies
uses: coursier/cache-action@v6
- name: Run tests
Expand All @@ -83,8 +93,12 @@ jobs:
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Scala and Java
uses: olafurpg/setup-scala@v14
- name: Setup Scala
uses: actions/[email protected]
with:
distribution: corretto
java-version: '17'
check-latest: true
- name: Cache Scala dependencies
uses: coursier/cache-action@v6
- name: Release artifacts
Expand Down
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import BuildHelper._

val ZioVersion = "2.0.6"
val ZioVersion = "2.0.18"
val H2Version = "2.1.214"
val ZioSchemaVersion = "0.4.8"
val ZioSchemaVersion = "0.4.14"

name := "zio-jdbc"

Expand Down Expand Up @@ -73,7 +73,7 @@ lazy val examples = project
.settings(
publish / skip := true,
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % "1.4.6",
"ch.qos.logback" % "logback-classic" % "1.4.7",
"net.logstash.logback" % "logstash-logback-encoder" % "7.3"
)
)
Expand Down

0 comments on commit f281725

Please sign in to comment.