File tree Expand file tree Collapse file tree 2 files changed +14
-22
lines changed Expand file tree Collapse file tree 2 files changed +14
-22
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,16 @@ name: PR
22on : pull_request
33jobs :
44 pr :
5- runs-on : ubuntu-22.04
5+ runs-on : ubuntu-latest
66 steps :
7- - uses : actions/checkout@v2
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'
14- java-version : 19
15- - uses : actions/cache@v2
16- with :
17- path : |
18- ~/.sbt
19- ~/.coursier
20- key : ${{ runner.os }}-sbt-${{ hashfiles('**/build.sbt') }}
13+ distribution : temurin
14+ java-version : 21
15+ cache : sbt
16+ - uses : sbt/setup-sbt@v1
2117 - run : sbt scalafmtCheck Test/scalafmtCheck +test
Original file line number Diff line number Diff line change 66jobs :
77 release :
88 concurrency : release
9- runs-on : ubuntu-22.04
9+ runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v2
11+ - uses : actions/checkout@v4
1212 with :
1313 fetch-depth : 0
1414 - name : apt-get update
@@ -20,16 +20,12 @@ jobs:
2020 env :
2121 PGP_SECRET : ${{ secrets.PGP_SECRET }}
2222 - name : Set up JDK
23- uses : actions/setup-java@v3
23+ uses : actions/setup-java@v4
2424 with :
25- distribution : ' temurin'
26- java-version : 19
27- - uses : actions/cache@v2
28- with :
29- path : |
30- ~/.sbt
31- ~/.coursier
32- key : ${{ runner.os }}-sbt-${{ hashfiles('**/build.sbt') }}
25+ distribution : temurin
26+ java-version : 21
27+ cache : sbt
28+ - uses : sbt/setup-sbt@v1
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