Skip to content

Commit

Permalink
Merge pull request #29 from AVSystem/scala-2.13.12
Browse files Browse the repository at this point in the history
Upgrade scala version to 2.13.12
  • Loading branch information
ddworak authored Sep 16, 2023
2 parents 5764d6a + def19d6 commit 6f85bb9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.11]
scala: [2.13.12]
java: [temurin@11]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.11]
scala: [2.13.12]
java: [temurin@11]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -101,12 +101,12 @@ jobs:
~/Library/Caches/Coursier/v1
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- name: Download target directories (2.13.11)
- name: Download target directories (2.13.12)
uses: actions/download-artifact@v2
with:
name: target-${{ matrix.os }}-2.13.11-${{ matrix.java }}
name: target-${{ matrix.os }}-2.13.12-${{ matrix.java }}

- name: Inflate target directories (2.13.11)
- name: Inflate target directories (2.13.12)
run: |
tar xf targets.tar
rm targets.tar
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name := "scex"

inThisBuild(Seq(
organization := "com.avsystem.scex",
scalaVersion := "2.13.11",
scalaVersion := "2.13.12",

githubWorkflowTargetTags ++= Seq("v*"),
githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11")),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ trait ScexCompiler extends LoggingUtils {
pos.withPoint(mapping(pos.point))
else pos

def doReport(pos: Position, msg: String, severity: Severity): Unit = {
override def doReport(pos: Position, msg: String, severity: Severity): Unit =
if (severity == ERROR) {
val actualPos = pos.source match {
case source: ExpressionSourceFile if includes(source.expressionPos, pos) =>
Expand All @@ -67,7 +67,6 @@ trait ScexCompiler extends LoggingUtils {
}
errorsBuilder += CompileError(lineContent(actualPos), if (actualPos.isDefined) actualPos.column else 1, msg)
}
}

def displayPrompt(): Unit = {}

Expand Down

0 comments on commit 6f85bb9

Please sign in to comment.