Skip to content

Commit 3769752

Browse files
authored
Merge pull request #86 from gemelen/main
Infra versions bump
2 parents 11e724e + 4737111 commit 3769752

File tree

6 files changed

+20
-18
lines changed

6 files changed

+20
-18
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,23 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest]
18-
java: [8, 21]
18+
java: ['temurin:8', 'temurin:21']
1919
runs-on: ${{ matrix.os }}
2020
env:
2121
# define Java options for both official sbt and sbt-extras
22-
JAVA_OPTS: -Dfile.encoding=UTF-8
22+
JAVA_OPTS: -Dfile.encoding=UTF-8
2323
JVM_OPTS: -Dfile.encoding=UTF-8
2424
ADDITIONAL_JVM_OPTS: -Djava.security.manager=allow
2525
steps:
2626
- name: Checkout
2727
uses: actions/checkout@v4
28-
- name: Set up JVM
29-
uses: actions/setup-java@v4
28+
- name: Setup cache
29+
uses: coursier/cache-action@v6
30+
- name: Setup jdk and sbt
31+
uses: coursier/setup-action@v1
3032
with:
31-
distribution: 'temurin'
32-
java-version: ${{ matrix.java }}
33-
cache: 'sbt'
33+
jvm: ${{ matrix.java }}
34+
apps: sbt
3435
- name: Test
3536
shell: bash
3637
run: sbt -v clean test scripted

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ jobs:
1616
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0
19-
- name: Set up JVM
20-
uses: actions/setup-java@v4
19+
- name: Setup cache
20+
uses: coursier/cache-action@v6
21+
- name: Setup jdk and sbt
22+
uses: coursier/setup-action@v1
2123
with:
22-
distribution: 'temurin'
23-
java-version: '8'
24-
cache: 'sbt'
24+
jvm: 'temurin:8'
25+
apps: sbt
2526
- name: Release
2627
run: sbt ci-release
2728
env:

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version = "3.8.0"
22
maxColumn = 120
33
project.git = true
4-
runner.dialect = scala212
4+
runner.dialect = scala212source3
55

66
# http://docs.scala-lang.org/style/scaladoc.html recommends the JavaDoc style.
77
# scala/scala is written that way too https://github.com/scala/scala/blob/v2.12.2/src/library/scala/Predef.scala

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
val mvnVersion = "3.9.4"
22
val mvnResolverVersion = "1.9.18"
3-
val scala212 = "2.12.19"
3+
val scala212 = "2.12.20"
44

55
ThisBuild / organization := "com.github.sbt"
66
ThisBuild / licenses := Seq("Apache-2.0" -> url("http://opensource.org/licenses/Apache-2.0"))

project/build.properties

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

project/plugins.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
addSbtPlugin("com.eed3si9n" % "sbt-nocomma" % "0.1.1")
2-
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")
3-
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
1+
addSbtPlugin("com.eed3si9n" % "sbt-nocomma" % "0.1.2")
2+
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.2")
3+
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.4")

0 commit comments

Comments
 (0)