From 0c8b1d99191db860c79e1daed1b976f36dab383f Mon Sep 17 00:00:00 2001 From: Lunfu Zhong Date: Tue, 28 Nov 2023 14:29:15 +0800 Subject: [PATCH] Update scala-library to 2.13.12 (#122) * Update scala-library to 2.13.12 * Upgrade actions. * Clean plugins. * Upgrade sbt. --- .github/workflows/sbt-coverage.yml | 6 +++--- .github/workflows/sbt-release.yml | 4 ++-- build.sbt | 2 +- project/build.properties | 2 +- project/plugins.sbt | 8 -------- 5 files changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/workflows/sbt-coverage.yml b/.github/workflows/sbt-coverage.yml index a5f312f..24cf1fd 100644 --- a/.github/workflows/sbt-coverage.yml +++ b/.github/workflows/sbt-coverage.yml @@ -11,11 +11,11 @@ jobs: coverage: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: olafurpg/setup-scala@v13 + - uses: actions/checkout@v4 + - uses: coursier/setup-action@v1 - name: branch-names id: branch-name - uses: tj-actions/branch-names@v2.2 + uses: tj-actions/branch-names@v7 - run: sbt coverage +test - run: sbt coverageReport coveralls env: diff --git a/.github/workflows/sbt-release.yml b/.github/workflows/sbt-release.yml index 0f779e7..d95881e 100644 --- a/.github/workflows/sbt-release.yml +++ b/.github/workflows/sbt-release.yml @@ -7,10 +7,10 @@ jobs: publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: olafurpg/setup-scala@v10 + - uses: coursier/setup-action@v1 - uses: olafurpg/setup-gpg@v3 - run: sbt ci-release env: diff --git a/build.sbt b/build.sbt index d1e5be3..a5d2ab5 100644 --- a/build.sbt +++ b/build.sbt @@ -13,7 +13,7 @@ lazy val root = (project in file(".")).settings( url("https://github.com/zhongl") ) ), - scalaVersion := "2.13.8", + scalaVersion := "2.13.12", semanticdbEnabled := true, semanticdbVersion := scalafixSemanticdb.revision, scalafmtOnCompile := true, diff --git a/project/build.properties b/project/build.properties index 563a014..e8a1e24 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.7.2 +sbt.version=1.9.7 diff --git a/project/plugins.sbt b/project/plugins.sbt index 387ce4e..521ea7c 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -6,16 +6,8 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.9") addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.11") -addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1") - addSbtPlugin("com.artima.supersafe" % "sbtplugin" % "1.1.12") -addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.15") - -addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.1") - -addSbtPlugin("com.github.sbt" % "sbt-git" % "2.0.1") - addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12") addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.1")