Skip to content

Commit

Permalink
Merge branch 'main' into update/munit-scalacheck-1.0.0-M8
Browse files Browse the repository at this point in the history
  • Loading branch information
ybasket authored Jul 21, 2023
2 parents d27a050 + 96e1bbd commit 3e37d46
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 47 deletions.
70 changes: 34 additions & 36 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
scala: [2.12.17, 2.13.10, 3.2.2]
scala: [2.12.18, 2.13.11, 3.3.0]
java: [temurin@8, temurin@11, temurin@17]
project: [rootJS, rootJVM, rootNative]
exclude:
- scala: 2.12.17
- scala: 2.12.18
java: temurin@11
- scala: 2.12.17
- scala: 2.12.18
java: temurin@17
- scala: 3.2.2
- scala: 3.3.0
java: temurin@11
- scala: 3.2.2
- scala: 3.3.0
java: temurin@17
- project: rootJS
java: temurin@11
Expand Down Expand Up @@ -172,7 +172,6 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.10]
java: [temurin@8]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -241,92 +240,92 @@ jobs:
~/Library/Caches/Coursier/v1
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- name: Download target directories (2.12.17, rootJS)
- name: Download target directories (2.12.18, rootJS)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12.17-rootJS
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12.18-rootJS

- name: Inflate target directories (2.12.17, rootJS)
- name: Inflate target directories (2.12.18, rootJS)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (2.12.17, rootJVM)
- name: Download target directories (2.12.18, rootJVM)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12.17-rootJVM
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12.18-rootJVM

- name: Inflate target directories (2.12.17, rootJVM)
- name: Inflate target directories (2.12.18, rootJVM)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (2.12.17, rootNative)
- name: Download target directories (2.12.18, rootNative)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12.17-rootNative
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12.18-rootNative

- name: Inflate target directories (2.12.17, rootNative)
- name: Inflate target directories (2.12.18, rootNative)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (2.13.10, rootJS)
- name: Download target directories (2.13.11, rootJS)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13.10-rootJS
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13.11-rootJS

- name: Inflate target directories (2.13.10, rootJS)
- name: Inflate target directories (2.13.11, rootJS)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (2.13.10, rootJVM)
- name: Download target directories (2.13.11, rootJVM)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13.10-rootJVM
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13.11-rootJVM

- name: Inflate target directories (2.13.10, rootJVM)
- name: Inflate target directories (2.13.11, rootJVM)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (2.13.10, rootNative)
- name: Download target directories (2.13.11, rootNative)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13.10-rootNative
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13.11-rootNative

- name: Inflate target directories (2.13.10, rootNative)
- name: Inflate target directories (2.13.11, rootNative)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (3.2.2, rootJS)
- name: Download target directories (3.3.0, rootJS)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3.2.2-rootJS
name: target-${{ matrix.os }}-${{ matrix.java }}-3.3.0-rootJS

- name: Inflate target directories (3.2.2, rootJS)
- name: Inflate target directories (3.3.0, rootJS)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (3.2.2, rootJVM)
- name: Download target directories (3.3.0, rootJVM)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3.2.2-rootJVM
name: target-${{ matrix.os }}-${{ matrix.java }}-3.3.0-rootJVM

- name: Inflate target directories (3.2.2, rootJVM)
- name: Inflate target directories (3.3.0, rootJVM)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (3.2.2, rootNative)
- name: Download target directories (3.3.0, rootNative)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3.2.2-rootNative
name: target-${{ matrix.os }}-${{ matrix.java }}-3.3.0-rootNative

- name: Inflate target directories (3.2.2, rootNative)
- name: Inflate target directories (3.3.0, rootNative)
run: |
tar xf targets.tar
rm targets.tar
Expand All @@ -343,14 +342,13 @@ jobs:
(echo "$PGP_PASSPHRASE"; echo; echo) | gpg --command-fd 0 --pinentry-mode loopback --change-passphrase $(gpg --list-secret-keys --with-colons 2> /dev/null | grep '^sec:' | cut --delimiter ':' --fields 5 | tail -n 1)
- name: Publish
run: sbt '++ ${{ matrix.scala }}' tlCiRelease
run: sbt tlCiRelease

site:
name: Generate Site
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.10]
java: [temurin@8]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -420,7 +418,7 @@ jobs:
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- name: Generate site
run: sbt '++ ${{ matrix.scala }}' docs/tlSite
run: sbt docs/tlSite

- name: Publish site
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
Expand Down
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.7.3
version = 3.7.10

style = default

Expand Down
10 changes: 5 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ ThisBuild / developers := List(
tlGitHubDev("ybasket", "Yannick Heiber"),
)

val Scala213 = "2.13.10"
ThisBuild / crossScalaVersions := Seq("2.12.17", Scala213, "3.2.2")
val Scala213 = "2.13.11"
ThisBuild / crossScalaVersions := Seq("2.12.18", Scala213, "3.3.0")
ThisBuild / scalaVersion := Scala213

// ensure missing timezones don't break tests on JS
Expand All @@ -16,10 +16,10 @@ ThisBuild / jsEnv := {

lazy val root = tlCrossRootProject.aggregate(xml, xmlScala, csv, cbor)

val http4sVersion = "0.23.19"
val scalaXmlVersion = "2.1.0"
val http4sVersion = "0.23.23"
val scalaXmlVersion = "2.2.0"
val fs2Version = "3.7.0"
val fs2DataVersion = "1.7.1"
val fs2DataVersion = "1.8.0"
val munitVersion = "1.0.0-M8"
val munitCatsEffectVersion = "2.0.0-M3"

Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.9.0
sbt.version=1.9.2
8 changes: 4 additions & 4 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
addSbtPlugin("org.http4s" % "sbt-http4s-org" % "0.14.12")
addSbtPlugin("org.http4s" % "sbt-http4s-org" % "0.14.13")

addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.1")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.2")

addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.12")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.14")

addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.1")
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.2")

// Fix links to API docs of scala-xml
addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "3.0.2")

0 comments on commit 3e37d46

Please sign in to comment.