Skip to content

Commit eda1ef9

Browse files
committed
fix(ci): update workflow actions for Node.js 24 compatibility
1 parent 07d4582 commit eda1ef9

3 files changed

Lines changed: 22 additions & 22 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1414

1515
- name: Install Rust
1616
uses: dtolnay/rust-toolchain@stable
1717

1818
- name: Cache cargo
19-
uses: actions/cache@v4
19+
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
2020
with:
2121
path: |
2222
~/.cargo/registry
@@ -33,7 +33,7 @@ jobs:
3333
run: cargo llvm-cov --lcov --output-path lcov.info
3434

3535
- name: Upload coverage to Codecov
36-
uses: codecov/codecov-action@v4
36+
uses: codecov/codecov-action@v5
3737
with:
3838
files: lcov.info
3939
fail_ci_if_error: false

.github/workflows/publish-homebrew.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@ jobs:
1616
steps:
1717
- name: Generate GitHub App token
1818
id: app-token
19-
uses: actions/create-github-app-token@v1
19+
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3
2020
with:
2121
app-id: ${{ secrets.HOTDATA_AUTOMATION_APP_ID }}
2222
private-key: ${{ secrets.HOTDATA_AUTOMATION_PRIVATE_KEY }}
2323
owner: hotdata-dev
2424
repositories: homebrew-tap,hotdata-cli
2525

26-
- uses: actions/checkout@v6
26+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2727
with:
2828
persist-credentials: true
2929
repository: "hotdata-dev/homebrew-tap"
3030
token: ${{ steps.app-token.outputs.token }}
3131

3232
- name: Fetch homebrew formulae
33-
uses: actions/download-artifact@v7
33+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
3434
with:
3535
pattern: artifacts-*
3636
path: Formula/

.github/workflows/release.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
env:
5757
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858
steps:
59-
- uses: actions/checkout@v6
59+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
6060
with:
6161
persist-credentials: false
6262
submodules: recursive
@@ -66,7 +66,7 @@ jobs:
6666
shell: bash
6767
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.31.0/cargo-dist-installer.sh | sh"
6868
- name: Cache dist
69-
uses: actions/upload-artifact@v6
69+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
7070
with:
7171
name: cargo-dist-cache
7272
path: ~/.cargo/bin/dist
@@ -82,7 +82,7 @@ jobs:
8282
cat plan-dist-manifest.json
8383
echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
8484
- name: "Upload dist-manifest.json"
85-
uses: actions/upload-artifact@v6
85+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
8686
with:
8787
name: artifacts-plan-dist-manifest
8888
path: plan-dist-manifest.json
@@ -116,7 +116,7 @@ jobs:
116116
- name: enable windows longpaths
117117
run: |
118118
git config --global core.longpaths true
119-
- uses: actions/checkout@v6
119+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
120120
with:
121121
persist-credentials: false
122122
submodules: recursive
@@ -131,7 +131,7 @@ jobs:
131131
run: ${{ matrix.install_dist.run }}
132132
# Get the dist-manifest
133133
- name: Fetch local artifacts
134-
uses: actions/download-artifact@v7
134+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
135135
with:
136136
pattern: artifacts-*
137137
path: target/distrib/
@@ -158,7 +158,7 @@ jobs:
158158
159159
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
160160
- name: "Upload artifacts"
161-
uses: actions/upload-artifact@v6
161+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
162162
with:
163163
name: artifacts-build-local-${{ join(matrix.targets, '_') }}
164164
path: |
@@ -175,19 +175,19 @@ jobs:
175175
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
176176
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
177177
steps:
178-
- uses: actions/checkout@v6
178+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
179179
with:
180180
persist-credentials: false
181181
submodules: recursive
182182
- name: Install cached dist
183-
uses: actions/download-artifact@v7
183+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
184184
with:
185185
name: cargo-dist-cache
186186
path: ~/.cargo/bin/
187187
- run: chmod +x ~/.cargo/bin/dist
188188
# Get all the local artifacts for the global tasks to use (for e.g. checksums)
189189
- name: Fetch local artifacts
190-
uses: actions/download-artifact@v7
190+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
191191
with:
192192
pattern: artifacts-*
193193
path: target/distrib/
@@ -205,7 +205,7 @@ jobs:
205205
206206
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
207207
- name: "Upload artifacts"
208-
uses: actions/upload-artifact@v6
208+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
209209
with:
210210
name: artifacts-build-global
211211
path: |
@@ -225,19 +225,19 @@ jobs:
225225
outputs:
226226
val: ${{ steps.host.outputs.manifest }}
227227
steps:
228-
- uses: actions/checkout@v6
228+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
229229
with:
230230
persist-credentials: false
231231
submodules: recursive
232232
- name: Install cached dist
233-
uses: actions/download-artifact@v7
233+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
234234
with:
235235
name: cargo-dist-cache
236236
path: ~/.cargo/bin/
237237
- run: chmod +x ~/.cargo/bin/dist
238238
# Fetch artifacts from scratch-storage
239239
- name: Fetch artifacts
240-
uses: actions/download-artifact@v7
240+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
241241
with:
242242
pattern: artifacts-*
243243
path: target/distrib/
@@ -250,14 +250,14 @@ jobs:
250250
cat dist-manifest.json
251251
echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
252252
- name: "Upload dist-manifest.json"
253-
uses: actions/upload-artifact@v6
253+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
254254
with:
255255
# Overwrite the previous copy
256256
name: artifacts-dist-manifest
257257
path: dist-manifest.json
258258
# Create a GitHub Release while uploading all files to it
259259
- name: "Download GitHub Artifacts"
260-
uses: actions/download-artifact@v7
260+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
261261
with:
262262
pattern: artifacts-*
263263
path: artifacts
@@ -305,7 +305,7 @@ jobs:
305305
env:
306306
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
307307
steps:
308-
- uses: actions/checkout@v6
308+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
309309
with:
310310
persist-credentials: false
311311
submodules: recursive

0 commit comments

Comments
 (0)