Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 0.23 on 0.23-scala3 #123

Merged
merged 43 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
0412b7f
Update munit to 1.0.1
http4s-steward[bot] Aug 12, 2024
815ee0a
Merge pull request #102 from http4s/update/munit-1.0.1
froth Aug 12, 2024
8adb168
Update logback-classic to 1.5.7
http4s-steward[bot] Aug 15, 2024
1762e0c
Merge pull request #103 from http4s/update/logback-classic-1.5.7
froth Aug 17, 2024
39656c4
Update sbt-tpolecat to 0.5.2
http4s-steward[bot] Aug 19, 2024
cf934cd
Merge pull request #104 from http4s/update/sbt-tpolecat-0.5.2
froth Aug 22, 2024
8a6101a
Update logback-classic to 1.5.8
http4s-steward[bot] Sep 8, 2024
f5e7ea6
Update sbt-typelevel-github-actions to 0.7.3
http4s-steward[bot] Sep 8, 2024
05881da
Update http4s-circe, http4s-dsl, ... to 0.23.28
http4s-steward[bot] Sep 10, 2024
ddaeb02
Merge pull request #108 from http4s/update/http4s-circe-0.23.28
froth Sep 10, 2024
867f21d
Update circe-generic to 0.14.10
http4s-steward[bot] Sep 10, 2024
6b93ddb
Merge pull request #106 from http4s/update/circe-generic-0.14.10
froth Sep 13, 2024
76e7c8e
Update sbt to 1.10.2
http4s-steward[bot] Sep 16, 2024
8cc8868
Merge pull request #105 from http4s/update/logback-classic-1.5.8
froth Sep 16, 2024
f30616c
Merge pull request #107 from http4s/update/sbt-typelevel-github-actio…
froth Sep 16, 2024
dcd5740
Update munit to 1.0.2
http4s-steward[bot] Sep 16, 2024
caa01e2
Update sbt-assembly to 2.3.0
http4s-steward[bot] Oct 7, 2024
60a8a34
Merge pull request #109 from http4s/update/munit-1.0.2
froth Oct 7, 2024
5f5bece
Merge pull request #110 from http4s/update/sbt-1.10.2
froth Oct 7, 2024
3846983
Merge pull request #111 from http4s/update/sbt-assembly-2.3.0
froth Oct 7, 2024
7e50901
Update logback-classic to 1.5.9
http4s-steward[bot] Oct 8, 2024
6a6ef7b
Merge pull request #112 from http4s/update/logback-classic-1.5.9
froth Oct 9, 2024
17bb05b
Update sbt-typelevel-github-actions to 0.7.4
http4s-steward[bot] Oct 11, 2024
0f06869
Regenerate GitHub Actions workflow
http4s-steward[bot] Oct 11, 2024
dcc98df
Merge pull request #113 from http4s/update/sbt-typelevel-github-actio…
froth Oct 12, 2024
32c2932
Update logback-classic to 1.5.10
http4s-steward[bot] Oct 12, 2024
a74055d
Merge pull request #114 from http4s/update/logback-classic-1.5.10
froth Oct 12, 2024
6813a38
Update logback-classic to 1.5.11
http4s-steward[bot] Oct 15, 2024
2df9b63
Merge pull request #115 from http4s/update/logback-classic-1.5.11
froth Oct 15, 2024
6c5db5a
Update http4s-circe, http4s-dsl, ... to 0.23.29
http4s-steward[bot] Oct 23, 2024
e67547b
Remove support for graal
froth Oct 23, 2024
235df44
Update logback-classic to 1.5.12
http4s-steward[bot] Oct 26, 2024
95dfe36
Update sbt to 1.10.4
http4s-steward[bot] Oct 28, 2024
57574eb
Merge pull request #118 from http4s/update-graal
froth Oct 28, 2024
d067667
Merge pull request #120 from http4s/update/sbt-1.10.4
froth Oct 28, 2024
b385a54
Merge pull request #119 from http4s/update/logback-classic-1.5.12
froth Oct 28, 2024
6a40afe
Merge pull request #117 from http4s/update/http4s-circe-0.23.29
froth Oct 28, 2024
66d9fba
Update Scala version to fix build
froth Oct 28, 2024
328e257
Update sbt to 1.10.5
http4s-steward[bot] Nov 4, 2024
ad4fdd8
Merge pull request #121 from http4s/update/sbt-1.10.5
froth Nov 5, 2024
4c04742
Remove Scala version from default.properties
froth Nov 4, 2024
757436d
Merge pull request #122 from http4s/remove-scala-version-props
froth Nov 11, 2024
672a07e
Merge branch '0.23' into 0.23-scala3-merge
froth Nov 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 2 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,12 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest]
scala: [2.12]
java: [temurin@11, temurin@17, graalvm@17]
java: [temurin@11, temurin@17]
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- name: Install sbt
if: contains(runner.os, 'macos')
run: brew install sbt
uses: sbt/setup-sbt@v1

- name: Checkout current branch (full)
uses: actions/checkout@v4
Expand Down Expand Up @@ -67,29 +66,8 @@ jobs:
if: matrix.java == 'temurin@17' && steps.setup-java-temurin-17.outputs.cache-hit == 'false'
run: sbt +update

- name: Setup Java (graalvm@17)
id: setup-java-graalvm-17
if: matrix.java == 'graalvm@17'
uses: graalvm/setup-graalvm@v1
with:
distribution: graalvm
java-version: 17
cache: sbt

- name: sbt update
if: matrix.java == 'graalvm@17' && steps.setup-java-graalvm-17.outputs.cache-hit == 'false'
run: sbt +update

- name: Check that workflows are up to date
run: sbt githubWorkflowCheck

- name: Test generated template
run: sbt '++ ${{ matrix.scala }}' g8Test

- name: Build native assembly
if: startsWith(matrix.java, 'graalvm')
run: |
cd target/sbt-test/http4s-g8/scripted
sbt assembly
gu install native-image
cat native-image-readme.md | grep 'native-image -H*' | sh
25 changes: 7 additions & 18 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@ ThisBuild / githubWorkflowBuild := Seq(
WorkflowStep.Sbt(
List("g8Test"),
name = Some("Test generated template")
),
WorkflowStep.Run(
List(
"cd target/sbt-test/http4s-g8/scripted",
"sbt assembly",
"gu install native-image",
"cat native-image-readme.md | grep 'native-image -H*' | sh"
),
cond = Some("startsWith(matrix.java, 'graalvm')"),
name = Some("Build native assembly")
)
)

Expand All @@ -24,15 +14,14 @@ val MacOS = "macos-latest"
ThisBuild / githubWorkflowOSes := Seq(PrimaryOS, MacOS)
ThisBuild / githubWorkflowJavaVersions := Seq(
JavaSpec.temurin("11"),
JavaSpec.temurin("17"),
JavaSpec.graalvm("17")
JavaSpec.temurin("17")
)
ThisBuild / githubWorkflowPublishTargetBranches := Seq.empty

val Http4sVersion = "0.23.27"
val CirceVersion = "0.14.9"
val MunitVersion = "1.0.0"
val LogbackVersion = "1.5.6"
val Http4sVersion = "0.23.29"
val CirceVersion = "0.14.10"
val MunitVersion = "1.0.2"
val LogbackVersion = "1.5.12"
val MunitCatsEffectVersion = "2.0.0"

lazy val root = project.in(file("."))
Expand All @@ -48,9 +37,9 @@ lazy val root = project.in(file("."))
"org.typelevel" %% "munit-cats-effect" % MunitCatsEffectVersion % Test,
"ch.qos.logback" % "logback-classic" % LogbackVersion % Runtime,
),
addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.1"),
addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.2"),
addSbtPlugin("io.spray" % "sbt-revolver" % "0.10.0"),
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.2.0"),
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.3.0"),
Test / test := {
val _ = (Test / g8Test).toTask("").value
},
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.10.1
sbt.version=1.10.5
2 changes: 1 addition & 1 deletion project/plugin.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("org.foundweekends.giter8" % "sbt-giter8" % "0.16.2")
addSbtPlugin("org.typelevel" % "sbt-typelevel-github-actions" % "0.7.2")
addSbtPlugin("org.typelevel" % "sbt-typelevel-github-actions" % "0.7.4")

10 changes: 5 additions & 5 deletions src/main/g8/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
val Http4sVersion = "0.23.27"
val CirceVersion = "0.14.9"
val MunitVersion = "1.0.0"
val LogbackVersion = "1.5.6"
val Http4sVersion = "0.23.29"
val CirceVersion = "0.14.10"
val MunitVersion = "1.0.2"
val LogbackVersion = "1.5.12"
val MunitCatsEffectVersion = "2.0.0"

lazy val root = (project in file("."))
Expand All @@ -17,7 +17,7 @@ lazy val root = (project in file("."))
"org.http4s" %% "http4s-dsl" % Http4sVersion,
"org.scalameta" %% "munit" % MunitVersion % Test,
"org.typelevel" %% "munit-cats-effect" % MunitCatsEffectVersion % Test,
"ch.qos.logback" % "logback-classic" % LogbackVersion,
"ch.qos.logback" % "logback-classic" % LogbackVersion
),
assembly / assemblyMergeStrategy := {
case "module-info.class" => MergeStrategy.discard
Expand Down
1 change: 1 addition & 0 deletions src/main/g8/default.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name = quickstart
organization = com.example
package = $organization$.$name;format="norm,word"$

2 changes: 1 addition & 1 deletion src/main/g8/project/build.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sbt.version=1.10.1
sbt.version=1.10.5

2 changes: 1 addition & 1 deletion src/main/g8/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.1")
addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.2")
addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.10")