Skip to content

Commit a63756c

Browse files
authored
Ubuntu 24 no longer includes SBT (#15)
1 parent a66b837 commit a63756c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

starter-workflow.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
with:
2828
distribution: 'microsoft'
2929
java-version: 11
30+
# Setup SBT
31+
- name: Setup SBT
32+
uses: sbt/setup-sbt@26ab4b0fa1c47fa62fc1f6e51823a658fb6c760c # v1.1.7
3033
# do your build steps. This example uses sbt to create a .jar file, which will go into the target/scala-2.13 folder
3134
- name: Publish locally with sbt
3235
run: sbt publishLocal
@@ -39,6 +42,8 @@ jobs:
3942
# check https://github.com/spotbugs/spotbugs/releases
4043
# you can switch off checksum checking by setting the checksum to '', but this is not recommended
4144
spotbugs_target: 'target/scala-2.13' # cannot have globs
45+
# setting the path_prefix is important if you are seeing "Preview unavailable" on alerts
46+
# path_prefix: "src/scala/"
4247
# spotbugs_filename_glob: '*.jar'
4348
# upload_sarif: 'true'
4449
# no_cache: 'false'
@@ -47,3 +52,4 @@ jobs:
4752
# findsecbugs_version: '1.12.0'
4853
# java_distribution: 'microsoft'
4954
# java_version: '11'
55+
# base_path: "/home/runner/work/"

0 commit comments

Comments
 (0)