Skip to content

Commit 45cc4f2

Browse files
committed
updated scala version in CI
1 parent 9b6d2a8 commit 45cc4f2

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
strategy:
7171
matrix:
7272
os: [ubuntu-latest]
73-
scala: [3.1.2]
73+
scala: [3.2.0]
7474
java: [temurin@11]
7575
runs-on: ${{ matrix.os }}
7676
steps:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
tag_name: ${{ steps.latest-tag.outputs.tag }}
5454
body_path: CHANGELOG.md
5555
files: |
56-
target/scala-3.1.2/polystat.jar
56+
target/scala-3.2.0/polystat.jar
5757
# build-binaries:
5858
# needs: pre-release
5959
# runs-on: ${{ matrix.os }}

build.sbt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,6 @@ commands += Command.command("postRelease") { state =>
214214
Command.process("release with-defaults", newState)
215215
}
216216

217-
val githubWorkflowScalas = List("3.1.2")
218-
219217
val checkoutSetupJava = List(WorkflowStep.Checkout) ++
220218
WorkflowStep.SetupJava(List(JavaSpec.temurin("11")))
221219

@@ -225,7 +223,7 @@ ThisBuild / githubWorkflowAddedJobs ++= Seq(
225223
WorkflowJob(
226224
id = "scalafmt",
227225
name = "Format code with scalafmt",
228-
scalas = githubWorkflowScalas,
226+
scalas = List(scalaVersion.value),
229227
steps = checkoutSetupJava ++
230228
githubWorkflowGeneratedCacheSteps.value ++
231229
List(

0 commit comments

Comments
 (0)