From 273c69c9bc43a4236d71283f4e319f41cbd76887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E5=A2=83=E8=BF=B7=E7=A6=BB?= Date: Sat, 7 Oct 2023 11:07:25 +0800 Subject: [PATCH] rm coverage and fix README.md --- .github/workflows/ScalaCI.yml | 9 +-------- README.md | 2 +- project/plugins.sbt | 3 +-- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ScalaCI.yml b/.github/workflows/ScalaCI.yml index 1fa3497..c6f15b9 100644 --- a/.github/workflows/ScalaCI.yml +++ b/.github/workflows/ScalaCI.yml @@ -37,14 +37,7 @@ jobs: java-version: 11 - name: Run Test - if: success() || failure() - run: sbt coverage test - - - name: Aggregate coverage report - run: sbt coverageAggregate - - - name: Upload test coverage report - run: bash <(curl -s https://codecov.io/bash) + run: sbt test publish: runs-on: ubuntu-latest diff --git a/README.md b/README.md index f313edb..4cd55a5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # sbt-kotlin-plugin -[![Build Status](https://github.com/bitlap/kotlin-plugin/actions/workflows/ScalaCI.yml/badge.svg)] +![Build Status](https://github.com/bitlap/kotlin-plugin/actions/workflows/ScalaCI.yml/badge.svg) Build kotlin code using sbt diff --git a/project/plugins.sbt b/project/plugins.sbt index 39f78a7..f47dcfe 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -3,5 +3,4 @@ libraryDependencies += "org.scala-sbt" %% "scripted-plugin" % sbtVersion.value addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.9.0") addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12") -addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") -addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.8") +addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") \ No newline at end of file