Skip to content

Commit 0bc771e

Browse files
committed
Upgrade various GitHub actions we depend on
1 parent 8d16f22 commit 0bc771e

6 files changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/antora.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,21 @@ jobs:
3434
sudo echo "127.0.0.1 repo.scala-sbt.org" | sudo tee -a /etc/hosts
3535
sudo echo "127.0.0.1 repo.typesafe.com" | sudo tee -a /etc/hosts
3636
- name: Checkout
37-
uses: actions/checkout@v4
37+
uses: actions/checkout@v6
3838
with:
3939
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
4040
fetch-depth: 0
4141

4242
- name: Install NodeJS
43-
uses: actions/setup-node@v4
43+
uses: actions/setup-node@v6
4444
with:
4545
node-version: 20
4646

4747
- name: Get npm cache directory
4848
id: npm-cache-dir
4949
run: |
5050
echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
51-
- uses: actions/cache@v4
51+
- uses: actions/cache@v5
5252
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
5353
with:
5454
path: ${{ steps.npm-cache-dir.outputs.dir }}

.github/workflows/binary-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,22 @@ jobs:
4242
sudo echo "127.0.0.1 repo.scala-sbt.org" | sudo tee -a /etc/hosts
4343
sudo echo "127.0.0.1 repo.typesafe.com" | sudo tee -a /etc/hosts
4444
- name: Checkout
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@v6
4646
with:
4747
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
4848
fetch-depth: 0
4949
ref: ${{ inputs.ref }}
5050

5151
- name: Coursier Cache
5252
id: coursier-cache
53-
uses: coursier/cache-action@v6
53+
uses: coursier/cache-action@v8
5454
with:
5555
ignoreJob: ${{ inputs.ignore-job-coursier-cache }}
5656
ignoreMatrix: true
5757
extraKey: ${{ inputs.extra-coursier-cache-key }}
5858

5959
- name: Install Adoptium Temurin OpenJDK
60-
uses: coursier/setup-action@v1
60+
uses: coursier/setup-action@v3
6161
with:
6262
jvm: adoptium:${{ inputs.java }}
6363
jvm-index: ${{ inputs.java-index }}

.github/workflows/cmd.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
sudo echo "127.0.0.1 repo.scala-sbt.org" | sudo tee -a /etc/hosts
110110
sudo echo "127.0.0.1 repo.typesafe.com" | sudo tee -a /etc/hosts
111111
- name: Checkout
112-
uses: actions/checkout@v4
112+
uses: actions/checkout@v6
113113
with:
114114
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
115115
fetch-depth: 0
@@ -121,14 +121,14 @@ jobs:
121121

122122
- name: Coursier Cache
123123
id: coursier-cache
124-
uses: coursier/cache-action@v6
124+
uses: coursier/cache-action@v8
125125
with:
126126
ignoreJob: ${{ inputs.ignore-job-coursier-cache }}
127127
ignoreMatrix: ${{ inputs.ignore-matrix-coursier-cache }}
128128
extraKey: ${{ inputs.extra-coursier-cache-key }}
129129

130130
- name: Gradle Cache
131-
uses: burrunan/gradle-cache-action@v2
131+
uses: burrunan/gradle-cache-action@v3
132132
with:
133133
build-root-directory: ${{ inputs.gradle-build-root }}
134134
# Disable caching of ~/.gradle/caches/build-cache-*
@@ -137,14 +137,14 @@ jobs:
137137
save-maven-dependencies-cache: false
138138

139139
- name: Custom Cache
140-
uses: actions/cache@v4
140+
uses: actions/cache@v5
141141
if: ${{ inputs.cache-key != '' && inputs.cache-path != '' }}
142142
with:
143143
key: ${{ format(inputs.cache-key, matrix.java) }}
144144
path: ${{ inputs.cache-path }}
145145

146146
- name: Install Adoptium Temurin OpenJDK
147-
uses: coursier/setup-action@v1
147+
uses: coursier/setup-action@v3
148148
with:
149149
jvm: adoptium:${{ matrix.java }}
150150
jvm-index: ${{ inputs.java-index }}

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
sudo echo "127.0.0.1 repo.scala-sbt.org" | sudo tee -a /etc/hosts
1919
sudo echo "127.0.0.1 repo.typesafe.com" | sudo tee -a /etc/hosts
2020
- name: Checkout
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6
2222
with:
2323
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
2424
fetch-depth: 0
2525
ref: ${{ inputs.ref }}
2626

2727
- name: Gradle Wrapper Validation
28-
uses: gradle/actions/wrapper-validation@v4
28+
uses: gradle/actions/wrapper-validation@v6

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,22 @@ jobs:
4343
sudo echo "127.0.0.1 repo.scala-sbt.org" | sudo tee -a /etc/hosts
4444
sudo echo "127.0.0.1 repo.typesafe.com" | sudo tee -a /etc/hosts
4545
- name: Checkout
46-
uses: actions/checkout@v4
46+
uses: actions/checkout@v6
4747
with:
4848
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
4949
fetch-depth: 0
5050
ref: ${{ inputs.ref }}
5151

5252
- name: Coursier Cache
5353
id: coursier-cache
54-
uses: coursier/cache-action@v6
54+
uses: coursier/cache-action@v8
5555
with:
5656
ignoreJob: ${{ inputs.ignore-job-coursier-cache }}
5757
ignoreMatrix: true
5858
extraKey: ${{ inputs.extra-coursier-cache-key }}
5959

6060
- name: Gradle Cache
61-
uses: burrunan/gradle-cache-action@v2
61+
uses: burrunan/gradle-cache-action@v3
6262
with:
6363
build-root-directory: ${{ inputs.gradle-build-root }}
6464
# Disable caching of ~/.gradle/caches/build-cache-*
@@ -67,7 +67,7 @@ jobs:
6767
save-maven-dependencies-cache: false
6868

6969
- name: Install Adoptium Temurin OpenJDK
70-
uses: coursier/setup-action@v1
70+
uses: coursier/setup-action@v3
7171
with:
7272
jvm: adoptium:${{ inputs.java }}
7373
jvm-index: ${{ inputs.java-index }}

.github/workflows/sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-24.04
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@v6
1212
- name: Run GitHub File Sync
1313
uses: BetaHuhn/repo-file-sync-action@v1
1414
with:

0 commit comments

Comments
 (0)