File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 21
21
with :
22
22
distribution : ' adopt'
23
23
java-version : 19
24
+ - uses : sbt/setup-sbt@v1
24
25
- name : Compile and run tests
25
26
run : sbt +test
26
27
- name : Check formatting
Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
test-codepropertygraph :
10
- runs-on : ubuntu-22.04
10
+ runs-on : ubuntu-latest
11
11
steps :
12
12
- uses : actions/checkout@v4
13
13
with :
22
22
with :
23
23
distribution : ' adopt'
24
24
java-version : 19
25
+ - uses : sbt/setup-sbt@v1
25
26
- name : Check formatting
26
27
run : sbt scalafmtCheck Test/scalafmtCheck
27
28
- run : echo "Previous step failed because code is not formatted. Run 'sbt scalafmt'"
36
37
release :
37
38
concurrency : release
38
39
needs : [test-codepropertygraph]
39
- runs-on : ubuntu-22.04
40
+ runs-on : ubuntu-latest
40
41
steps :
41
42
- uses : actions/checkout@v4
42
43
with :
57
58
with :
58
59
distribution : ' adopt'
59
60
java-version : 11
61
+ - uses : sbt/setup-sbt@v1
60
62
- name : Release to Sonatype
61
63
run : sbt ciReleaseTagNextVersion ciReleaseSonatype
62
64
env :
You can’t perform that action at this time.
0 commit comments