File tree 3 files changed +52
-22
lines changed
3 files changed +52
-22
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ push :
4
+ pull_request :
5
+ jobs :
6
+ build-test :
7
+ runs-on : ubuntu-latest
8
+ strategy :
9
+ fail-fast : false
10
+ matrix :
11
+ scala : ['2.12.14', '2.13.6']
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v2
15
+ - name : Setup Scala
16
+ uses : olafurpg/setup-scala@v10
17
+ with :
18
+
19
+ - name : Coursier cache
20
+ uses : coursier/cache-action@v5
21
+ - name : Build and test
22
+ if : ${{ matrix.scala == '3.0.0' }}
23
+ run : sbt ++${{ matrix.scala }} clean test
24
+ - name : Build and test
25
+ if : ${{ matrix.scala != '3.0.0' }}
26
+ run : sbt ++${{ matrix.scala }} clean coverage test coverageReport && bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ branches : ['master']
5
+ release :
6
+ types :
7
+ - published
8
+ jobs :
9
+ publish :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout
13
+ uses : actions/checkout@v2
14
+ with :
15
+ fetch-depth : 0
16
+ - name : Setup Scala
17
+ uses : olafurpg/setup-scala@v10
18
+ with :
19
+
20
+ - uses : olafurpg/setup-gpg@v3
21
+ - run : sbt ci-release
22
+ env :
23
+ PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
24
+ PGP_SECRET : ${{ secrets.PGP_SECRET }}
25
+ SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
26
+ SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments