File tree Expand file tree Collapse file tree 2 files changed +25
-18
lines changed Expand file tree Collapse file tree 2 files changed +25
-18
lines changed Original file line number Diff line number Diff line change 1
- name : CI
2
-
1
+ name : test
3
2
on :
4
- pull_request :
5
3
push :
6
- branches : ['main']
7
- tags : ['v[0-9]']
8
-
4
+ branches :
5
+ - main
6
+ pull_request :
9
7
jobs :
10
- build :
8
+ test :
9
+ strategy :
10
+ fail-fast : false
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v3
14
- - uses : actions/setup-java@v4
15
- with :
16
- distribution : ' temurin'
17
- java-version : ' 8'
18
- cache : ' sbt'
19
- - run : sbt +test scripted mimaReportBinaryIssues
13
+ - uses : actions/checkout@v4
14
+ with :
15
+ fetch-depth : 0
16
+ - uses : actions/setup-java@v4
17
+ with :
18
+ distribution : temurin
19
+ java-version : 8
20
+ cache : sbt
21
+ - uses : sbt/setup-sbt@v1
22
+ - name : test
23
+ run : sbt +test scripted mimaReportBinaryIssues
Original file line number Diff line number Diff line change @@ -13,14 +13,17 @@ jobs:
13
13
runs-on : ubuntu-22.04
14
14
if : ${{ github.repository_owner == 'sbt' }}
15
15
steps :
16
- - uses : actions/checkout@v3
16
+ - uses : actions/checkout@v4
17
17
with :
18
18
fetch-depth : 0
19
+ - uses : coursier/cache-action@v6
20
+ - uses : coursier/setup-action@v1
21
+ with :
22
+ apps : sbt
19
23
- uses : actions/setup-java@v4
20
24
with :
21
- distribution : ' temurin'
22
- java-version : ' 8'
23
- cache : ' sbt'
25
+ distribution : temurin
26
+ java-version : 8
24
27
25
28
- name : Publish artifacts
26
29
run : sbt ci-release
You can’t perform that action at this time.
0 commit comments