Skip to content

Commit ee55e69

Browse files
authored
Merge branch 'master' into replace_SheathLeafClauses
2 parents 6292a40 + d6cc949 commit ee55e69

19 files changed

+58
-59
lines changed

.git-blame-ignore-revs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# Scala Steward: Reformat with scalafmt 3.7.5
22
d8a77dfb017feae820e38eea0d7b5128b13a737d
3+
4+
# Scala Steward: Reformat with scalafmt 3.8.3
5+
1b7c658737faa53ec506fb403892320773282488

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
key: ${{ runner.os }}-${{matrix.scala}}-${{matrix.module}}-${{ hashFiles('**/build.sbt') }}
3030

3131
- name: Setup Java
32-
uses: actions/setup-java@v3.12.0
32+
uses: actions/setup-java@v4.2.2
3333
with:
3434
distribution: temurin
3535
java-version: '17'
@@ -87,7 +87,7 @@ jobs:
8787
key: ${{ runner.os }}-${{matrix.scala}}-${{matrix.module}}-${{ hashFiles('**/build.sbt') }}
8888

8989
- name: Setup Java
90-
uses: actions/setup-java@v3.12.0
90+
uses: actions/setup-java@v4.2.2
9191
with:
9292
distribution: temurin
9393
java-version: '17'
@@ -110,7 +110,7 @@ jobs:
110110
steps:
111111
- uses: actions/[email protected]
112112
- name: Setup Java
113-
uses: actions/setup-java@v3.12.0
113+
uses: actions/setup-java@v4.2.2
114114
with:
115115
distribution: temurin
116116
java-version: '11'

.github/workflows/scala-steward.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Scala Steward
1414
steps:
1515
- name: Scala Steward
16-
uses: scala-steward-org/scala-steward-action@v2.65.0
16+
uses: scala-steward-org/scala-steward-action@v2.69.0
1717
with:
1818
github-app-id: ${{ secrets.SCALA_STEWARD_GITHUB_APP_ID }}
1919
github-app-installation-id: ${{ secrets.SCALA_STEWARD_GITHUB_APP_INSTALLATION_ID }}

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "3.8.2"
1+
version = "3.8.3"
22
maxColumn = 240
33
align.preset = most
44
align.multiline = false

build.sbt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ lazy val `quill-util` =
164164
.settings(
165165
Test / fork := true,
166166
libraryDependencies ++= Seq(
167-
("org.scalameta" %% "scalafmt-core" % "3.8.2")
167+
("org.scalameta" %% "scalafmt-core" % "3.8.3")
168168
.excludeAll(
169169
({
170170
if (isScala3)
@@ -202,7 +202,7 @@ lazy val `quill-engine` =
202202
"com.typesafe" % "config" % "1.4.3",
203203
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.5",
204204
("com.github.takayahilton" %% "sql-formatter" % "1.2.1").cross(CrossVersion.for3Use2_13),
205-
"io.suzaku" %% "boopickle" % "1.4.0",
205+
"io.suzaku" %% "boopickle" % "1.5.0",
206206
"com.lihaoyi" %% "pprint" % "0.9.0",
207207
"com.github.ben-manes.caffeine" % "caffeine" % "3.1.8"
208208
),
@@ -216,7 +216,7 @@ lazy val `quill-core` =
216216
.settings(
217217
libraryDependencies ++= Seq(
218218
"com.typesafe" % "config" % "1.4.3",
219-
"dev.zio" %% "zio-logging" % "2.3.0",
219+
"dev.zio" %% "zio-logging" % "2.3.1",
220220
"dev.zio" %% "zio" % Version.zio,
221221
"dev.zio" %% "zio-streams" % Version.zio,
222222
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.5"
@@ -422,8 +422,8 @@ lazy val `quill-jdbc-zio` =
422422
.settings(
423423
libraryDependencies ++= Seq(
424424
// Needed for PGObject in JsonExtensions but not necessary if user is not using postgres
425-
"org.postgresql" % "postgresql" % "42.7.3" % "provided",
426-
"dev.zio" %% "zio-json" % "0.7.1"
425+
"org.postgresql" % "postgresql" % "42.7.4" % "provided",
426+
"dev.zio" %% "zio-json" % "0.7.3"
427427
),
428428
Test / testGrouping := {
429429
(Test / definedTests).value map { test =>
@@ -510,7 +510,7 @@ lazy val `quill-orientdb` =
510510
.settings(
511511
Test / fork := true,
512512
libraryDependencies ++= Seq(
513-
"com.orientechnologies" % "orientdb-graphdb" % "3.2.31"
513+
"com.orientechnologies" % "orientdb-graphdb" % "3.2.33"
514514
)
515515
)
516516
.dependsOn(
@@ -533,9 +533,9 @@ lazy val jdbcTestingLibraries = Seq(
533533
libraryDependencies ++= Seq(
534534
"com.zaxxer" % "HikariCP" % "5.1.0" exclude ("org.slf4j", "*"),
535535
"com.mysql" % "mysql-connector-j" % "9.0.0" % Test,
536-
"com.h2database" % "h2" % "2.2.224" % Test,
537-
"org.postgresql" % "postgresql" % "42.7.3" % Test,
538-
"org.xerial" % "sqlite-jdbc" % "3.46.0.0" % Test,
536+
"com.h2database" % "h2" % "2.3.232" % Test,
537+
"org.postgresql" % "postgresql" % "42.7.4" % Test,
538+
"org.xerial" % "sqlite-jdbc" % "3.46.1.0" % Test,
539539
"com.microsoft.sqlserver" % "mssql-jdbc" % "7.4.1.jre11" % Test,
540540
"com.oracle.ojdbc" % "ojdbc8" % "19.3.0.0" % Test,
541541
"org.mockito" %% "mockito-scala-scalatest" % "1.17.14" % Test
@@ -597,15 +597,15 @@ def excludePaths(paths: Seq[String]) = {
597597
})
598598
}
599599

600-
val scala_v_12 = "2.12.19"
600+
val scala_v_12 = "2.12.20"
601601
val scala_v_13 = "2.13.14"
602602
val scala_v_30 = "3.3.3"
603603

604604
val scalaCollectionCompatVersion = "2.12.0"
605605

606606
lazy val loggingSettings = Seq(
607607
libraryDependencies ++= Seq(
608-
"ch.qos.logback" % "logback-classic" % "1.5.6" % Test
608+
"ch.qos.logback" % "logback-classic" % "1.5.8" % Test
609609
)
610610
)
611611

build/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ fi
242242

243243
show_mem
244244
echo "Tests completed. Shutting down"
245-
time docker-compose down
245+
time docker compose down
246246
# for 2.12 publish coverage
247247
if [[ $SCALA_VERSION == 2.12* ]]; then
248248
echo "Coverage"

build/m1/README.MD

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,27 @@ In order to get this project to build on a Mac with an M1 or later chip, you wil
1010
## Setup
1111
To get started - be sure to setup the databases needed for the build/test process. Do so by executing the following:
1212

13-
`docker-compose -f docker-compose-m1.yml --rm setup`
13+
`docker compose -f docker-compose-m1.yml --rm setup`
1414

15-
Any time you want to re-setup your databases (i.e. you run `docker-compose down`) - you will need to run that command pointed at the right YAML.
15+
Any time you want to re-setup your databases (i.e. you run `docker compose down`) - you will need to run that command pointed at the right YAML.
1616

1717
## Compile and Test
1818
To start the build and run tests, its often best to skip the codegen tests as they can sometimes cause phantom errors. To do this, execute the following:
1919

20-
`docker-compose -f docker-compose-m1.yml run sbt sbt -Dmodules=db test`
20+
`docker compose -f docker-compose-m1.yml run sbt sbt -Dmodules=db test`
2121

2222
Drop the `-Dmodules=db` if you want to run ALL the tests (and grab an adult beverage while it runs - it'll be a while). Check out the `build.sbt` for a list of the
2323
various modules you can build together or independently.
2424

2525
## Stop Your Services - Don't Down them!
26-
Be nice to your M1 system - stop your services - don't down them. Running `docker-compose -f docker-compose-m1.yml down` will stop AND remove all your services. What this means is the next time you want to run your tests again - you better run setup again or your tests will fail due to missing databases!
26+
Be nice to your M1 system - stop your services - don't down them. Running `docker compose -f docker-compose-m1.yml down` will stop AND remove all your services. What this means is the next time you want to run your tests again - you better run setup again or your tests will fail due to missing databases!
2727

28-
If you plan to have some rapid build/test cycles - run: `docker-compose -f docker-compose-m1.yml stop` to stop your services. It will preserve the volumes that were created when you ran setup. It'll save you a good amount of time.
28+
If you plan to have some rapid build/test cycles - run: `docker compose -f docker-compose-m1.yml stop` to stop your services. It will preserve the volumes that were created when you ran setup. It'll save you a good amount of time.
2929

3030
## Build With a Specific Scala Version
3131
By default the build executes with Scala 2.13. Not horrible - but if you want to take advantage of the improved compiler of a more recent 2.x version of Scala you can specify that!
3232
You can simply set the `quill.scala.version` when you start your build:
3333

34-
`docker-compose -f docker-compose-m1.yml run sbt sbt -Dquill.scala.version=2.13.6 -Dmodules=db test`
34+
`docker compose -f docker-compose-m1.yml run sbt sbt -Dquill.scala.version=2.13.6 -Dmodules=db test`
3535

3636
Check out the [CONTRIBUTING](../../docs/CONTRIBUTING.md) guide for more details. Good luck!

build/setup_bigdata.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
set -e
44

5-
time docker-compose up -d cassandra orientdb
5+
time docker compose up -d cassandra orientdb
66

77
# import setup functions
88
. build/setup_db_scripts.sh
99

1010
# setup cassandra in docker
1111
send_script cassandra $CASSANDRA_SCRIPT cassandra-schema.cql
1212
send_script cassandra ./build/setup_db_scripts.sh setup_db_scripts.sh
13-
time docker-compose exec -T cassandra bash -c ". setup_db_scripts.sh && setup_cassandra 127.0.0.1 cassandra-schema.cql"
13+
time docker compose exec -T cassandra bash -c ". setup_db_scripts.sh && setup_cassandra 127.0.0.1 cassandra-schema.cql"
1414

1515
echo "Databases are ready!"

build/setup_databases.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
set -e
44

55
echo "### Bringing Down Any Docker Containers that May Be Running ###"
6-
time docker-compose down --rmi all
6+
time docker compose down --rmi all
77

88
echo "### Bringing Up sqlserver, oracle, postgres, mysql Images ###"
9-
time docker-compose up -d sqlserver oracle postgres mysql
9+
time docker compose up -d sqlserver oracle postgres mysql
1010
echo "### DONE Bringing Up sqlserver and oracle Images ###"
1111

1212
echo "### Checking Docker Images"
@@ -28,7 +28,7 @@ echo "### Running Setup for sqlserver ###"
2828
# setup sqlserver in docker
2929
send_script sqlserver $SQL_SERVER_SCRIPT sqlserver-schema.sql
3030
send_script sqlserver ./build/setup_db_scripts.sh setup_db_scripts.sh
31-
time docker-compose exec -T sqlserver bash -c ". setup_db_scripts.sh && setup_sqlserver 127.0.0.1 sqlserver-schema.sql"
31+
time docker compose exec -T sqlserver bash -c ". setup_db_scripts.sh && setup_sqlserver 127.0.0.1 sqlserver-schema.sql"
3232

3333
# Can't do absolute paths here so need to do relative
3434
mkdir sqlline/

build/setup_db_scripts.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function setup_sqlserver() {
135135

136136
# Do a simple netcat poll to make sure the oracle database is ready.
137137
# All internal database creation and schema setup scripts are handled
138-
# by the container and docker-compose steps.
138+
# by the container and docker compose steps.
139139

140140
function setup_oracle() {
141141
while ! nc -z $1 1521; do
@@ -164,7 +164,7 @@ function setup_oracle() {
164164

165165
function send_script() {
166166
echo "Send Script Args: 1: $1 - 2 $2 - 3: $3"
167-
docker cp $2 "$(docker-compose ps -q $1)":/$3
167+
docker cp $2 "$(docker compose ps -q $1)":/$3
168168
}
169169

170170
export -f setup_sqlite

0 commit comments

Comments
 (0)