-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* tell `actions/checkout` to fetch tags (instead of a 2nd `git fetch` invocation) * use `sbt/setup-sbt` to be sure `sbt` is present * remove no longer needed plugin `sbt-vspp` (see https://github.com/esbeetee/sbt-vspp) * simplify CI detection in `build.sbt`
- Loading branch information
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,14 +16,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-tags: true | ||
- name: Set up JVM | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.java }} | ||
cache: 'sbt' | ||
|
||
- run: git fetch --tags -f | ||
- uses: sbt/setup-sbt@v1 | ||
- run: | ||
# for git tests | ||
git config --global user.email "[email protected]" && git config --global user.name "scalafmt" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.8.0") | ||
libraryDependencies += "org.scala-sbt" %% "scripted-plugin" % sbtVersion.value | ||
addSbtPlugin("com.scalawilliam.esbeetee" % "sbt-vspp" % "0.4.13") |