Skip to content

Commit af422ed

Browse files
authored
Merge branch 'series/0.23' into update/series/0.23/scalafmt-core-3.6.1
2 parents fd0f6a8 + e68b76f commit af422ed

File tree

6 files changed

+21
-16
lines changed

6 files changed

+21
-16
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
os: [ubuntu-latest]
32-
scala: [3.2.0, 2.12.17, 2.13.10]
32+
scala: [3.2.1, 2.12.17, 2.13.10]
3333
java: [temurin@8]
3434
runs-on: ${{ matrix.os }}
3535
steps:
@@ -71,29 +71,29 @@ jobs:
7171

7272
- name: Check headers and formatting
7373
if: matrix.java == 'temurin@8'
74-
run: sbt '++${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
74+
run: sbt '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
7575

7676
- name: Test
77-
run: sbt '++${{ matrix.scala }}' test
77+
run: sbt '++ ${{ matrix.scala }}' test
7878

7979
- name: Check binary compatibility
8080
if: matrix.java == 'temurin@8'
81-
run: sbt '++${{ matrix.scala }}' mimaReportBinaryIssues
81+
run: sbt '++ ${{ matrix.scala }}' mimaReportBinaryIssues
8282

8383
- name: Generate API documentation
8484
if: matrix.java == 'temurin@8'
85-
run: sbt '++${{ matrix.scala }}' doc
85+
run: sbt '++ ${{ matrix.scala }}' doc
8686

8787
- name: Check Java formatting
88-
run: sbt '++${{ matrix.scala }}' '${{ matrix.ci }}' javafmtCheckAll
88+
run: sbt '++ ${{ matrix.scala }}' '${{ matrix.ci }}' javafmtCheckAll
8989

9090
- name: Check scalafix lints
9191
if: matrix.java == 'temurin@8' && !startsWith(matrix.scala, '3.')
92-
run: sbt '++${{ matrix.scala }}' 'scalafixAll --check'
92+
run: sbt '++ ${{ matrix.scala }}' 'scalafixAll --check'
9393

9494
- name: Check unused compile dependencies
9595
if: matrix.java == 'temurin@8'
96-
run: sbt '++${{ matrix.scala }}' unusedCompileDependenciesTest
96+
run: sbt '++ ${{ matrix.scala }}' unusedCompileDependenciesTest
9797

9898
- name: Make target directories
9999
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
@@ -154,12 +154,12 @@ jobs:
154154
~/Library/Caches/Coursier/v1
155155
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
156156

157-
- name: Download target directories (3.2.0)
157+
- name: Download target directories (3.2.1)
158158
uses: actions/download-artifact@v2
159159
with:
160-
name: target-${{ matrix.os }}-${{ matrix.java }}-3.2.0
160+
name: target-${{ matrix.os }}-${{ matrix.java }}-3.2.1
161161

162-
- name: Inflate target directories (3.2.0)
162+
- name: Inflate target directories (3.2.1)
163163
run: |
164164
tar xf targets.tar
165165
rm targets.tar
@@ -196,4 +196,4 @@ jobs:
196196
(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)
197197
198198
- name: Publish
199-
run: sbt '++${{ matrix.scala }}' tlRelease
199+
run: sbt '++ ${{ matrix.scala }}' tlRelease

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Dependencies._
33

44
val Scala212 = "2.12.17"
55
val Scala213 = "2.13.10"
6-
val Scala3 = "3.2.0"
6+
val Scala3 = "3.2.1"
77
val http4sVersion = "0.23.16"
88
val munitCatsEffectVersion = "2.0.0-M3"
99

core/src/test/scala/org/http4s/blaze/pipeline/stages/SSLStageSuite.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ class SSLStageSuite extends BlazeTestSuite {
6161
} yield ()
6262
}
6363

64-
test(testSuitePrefix + " should split large buffers") {
64+
test((testSuitePrefix + " should split large buffers").flaky) {
65+
// See https://github.com/http4s/blaze/pull/771 for a deeper
66+
// analysis of the flake and possible solutions.
6567
val (headEng, stageEng) = mkClientServerEngines
6668
val s = "Fo" * (stageEng.getSession.getPacketBufferSize * 0.75).toInt
6769

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.7.3
1+
sbt.version=1.8.0

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0")
22
addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.8.0")
33
addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1")
4-
addSbtPlugin("org.http4s" %% "sbt-http4s-org" % "0.14.7")
4+
addSbtPlugin("org.http4s" %% "sbt-http4s-org" % "0.14.9")

testkit/src/main/scala/org/http4s/blaze/testkit/BlazeTestSuite.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ import scala.util.control.NonFatal
2525

2626
abstract class BlazeTestSuite extends FunSuite with BlazeAssertions {
2727
implicit val executionContext: ExecutionContext = ExecutionContext.Implicits.global
28+
29+
// allow flaky tests on ci
30+
override def munitFlakyOK: Boolean = sys.env.contains("CI")
2831
}
2932

3033
trait BlazeAssertions { self: Assertions =>

0 commit comments

Comments
 (0)