File tree Expand file tree Collapse file tree 2 files changed +13
-21
lines changed Expand file tree Collapse file tree 2 files changed +13
-21
lines changed Original file line number Diff line number Diff line change 44 pr :
55 runs-on : ubuntu-latest
66 steps :
7- - uses : actions/checkout@v3
7+ - uses : actions/checkout@v4
88 with :
99 fetch-depth : 1
1010 - name : Set up JDK
11- uses : actions/setup-java@v3
11+ uses : actions/setup-java@v4
1212 with :
13- distribution : ' temurin'
13+ distribution : temurin
1414 java-version : 21
15- - uses : actions/cache@v2
16- with :
17- path : |
18- ~/.sbt
19- ~/.coursier
20- key : ${{ runner.os }}-sbt-${{ hashfiles('**/build.sbt') }}
15+ cache : sbt
16+ - uses : sbt/setup-sbt@v1
2117 - name : scalafmtCheck and tests
2218 run : sbt scalafmtCheck Test/scalafmtCheck test
Original file line number Diff line number Diff line change 88 concurrency : release
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v3
11+ - uses : actions/checkout@v4
1212 with :
1313 fetch-depth : 0
14+ - name : Set up JDK
15+ uses : actions/setup-java@v4
16+ with :
17+ distribution : temurin
18+ java-version : 21
19+ cache : sbt
20+ - uses : sbt/setup-sbt@v1
1421 - name : apt-get update
1522 run : sudo apt-get update
1623 - name : Install gnupg
1926 run : echo $PGP_SECRET | base64 --decode | gpg --batch --import
2027 env :
2128 PGP_SECRET : ${{ secrets.PGP_SECRET }}
22- - name : Set up JDK
23- uses : actions/setup-java@v3
24- with :
25- distribution : ' temurin'
26- java-version : 21
27- - uses : actions/cache@v2
28- with :
29- path : |
30- ~/.sbt
31- ~/.coursier
32- key : ${{ runner.os }}-sbt-${{ hashfiles('**/build.sbt') }}
3329 - run : sbt +test ciReleaseTagNextVersion ciReleaseSonatype
3430 env :
3531 PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
You can’t perform that action at this time.
0 commit comments