Skip to content

Commit 1eab5d3

Browse files
committed
update actions
1 parent aaacf72 commit 1eab5d3

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
HAS_SECRETS: ${{ secrets.SONATYPE_PASSWORD != '' }}
2727
steps:
2828
- name: Checkout current branch (full)
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v4
3030
with:
3131
fetch-depth: 0
3232

@@ -36,7 +36,7 @@ jobs:
3636
java-version: ${{ matrix.java }}
3737

3838
- name: Cache sbt
39-
uses: actions/cache@v2
39+
uses: actions/cache@v4
4040
with:
4141
path: |
4242
~/.sbt
@@ -45,7 +45,7 @@ jobs:
4545
~/.cache/coursier/v1
4646
~/AppData/Local/Coursier/Cache/v1
4747
~/Library/Caches/Coursier/v1
48-
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
48+
key: ${{ runner.os }}-sbt-cache-v4-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
4949

5050
- name: Runs tests
5151
run: sbt -jvm-opts ci/ci.jvmopts ++${{ matrix.scala }} test
@@ -69,7 +69,7 @@ jobs:
6969
HAS_SECRETS: ${{ secrets.SONATYPE_PASSWORD != '' }}
7070
steps:
7171
- name: Checkout current branch (full)
72-
uses: actions/checkout@v2
72+
uses: actions/checkout@v4
7373
with:
7474
fetch-depth: 0
7575

@@ -79,7 +79,7 @@ jobs:
7979
java-version: ${{ matrix.java }}
8080

8181
- name: Cache sbt
82-
uses: actions/cache@v2
82+
uses: actions/cache@v4
8383
with:
8484
path: |
8585
~/.sbt
@@ -88,7 +88,7 @@ jobs:
8888
~/.cache/coursier/v1
8989
~/AppData/Local/Coursier/Cache/v1
9090
~/Library/Caches/Coursier/v1
91-
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
91+
key: ${{ runner.os }}-sbt-cache-v4-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
9292

9393
- name: Runs tests
9494
run: sbt -jvm-opts ci/ci.jvmopts ++${{ matrix.scala }} coreJS/test

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
name: Publish release to Sonatype
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515

1616
- name: Setup Java and Scala
1717
uses: olafurpg/setup-scala@v10
1818
with:
1919
java-version: [email protected]
2020

2121
- name: Cache sbt
22-
uses: actions/cache@v2
22+
uses: actions/cache@v4
2323
with:
2424
path: |
2525
~/.sbt
@@ -28,7 +28,7 @@ jobs:
2828
~/.cache/coursier/v1
2929
~/AppData/Local/Coursier/Cache/v1
3030
~/Library/Caches/Coursier/v1
31-
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
31+
key: ${{ runner.os }}-sbt-cache-v4-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
3232

3333
- name: Import GPG key
3434
run: ci/import_gpg.sh

0 commit comments

Comments
 (0)