File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : test
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ pull_request :
7
+ jobs :
8
+ test :
9
+ strategy :
10
+ fail-fast : false
11
+ matrix :
12
+ java : [8, 11, 17]
13
+ scala : [2.11.12, 2.12.15, 2.13.6, 3.0.2]
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ with :
18
+ fetch-depth : 0
19
+ - uses : coursier/cache-action@v6
20
+ - uses : actions/setup-java@v2
21
+ with :
22
+ distribution : temurin
23
+ java-version : ${{matrix.java}}
24
+ - name : Test
25
+ run : |
26
+ sbt ++${{matrix.scala}} test
27
+ git diff --exit-code # check scalariform
Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ tags : ["*"]
5
+ jobs :
6
+ publish :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ with :
11
+ fetch-depth : 0
12
+ - uses : actions/setup-java@v2
13
+ with :
14
+ distribution : temurin
15
+ java-version : 8
16
+ - run : sbt ci-release
17
+ env :
18
+ PGP_PASSPHRASE : ${{secrets.PGP_PASSPHRASE}}
19
+ PGP_SECRET : ${{secrets.PGP_SECRET}}
20
+ SONATYPE_PASSWORD : ${{secrets.SONATYPE_PASSWORD}}
21
+ SONATYPE_USERNAME : ${{secrets.SONATYPE_USERNAME}}
You can’t perform that action at this time.
0 commit comments