Skip to content

Commit c2f5bed

Browse files
Merge branch 'net10' into assembly-store-3
2 parents 8e28d70 + a61ef11 commit c2f5bed

File tree

60 files changed

+932
-591
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+932
-591
lines changed

.github/actions/environment/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ runs:
8181
with:
8282
dotnet-version: |
8383
8.0.x
84-
9.0.301
85-
10.0.100-preview.7.25380.108
84+
9.0.304
85+
10.0.100-rc.1.25451.107
8686
8787
- name: Install .NET Workloads
8888
shell: bash

.github/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM ${BASE}
55
RUN apk update
66

77
# common
8-
RUN apk add bash build-base cmake curl git icu lsb-release-minimal nodejs npm sudo tar wget
8+
RUN apk add bash build-base cmake curl git gpg icu lsb-release-minimal nodejs npm sudo tar wget
99

1010
# sentry-native
1111
RUN apk add curl-dev docker-cli libunwind-dev libunwind-static linux-headers openssl-dev zlib-dev xz-dev xz-static

.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: 14 additions & 10 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://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/.github/alpine/setup-node.sh | sudo bash /dev/stdin /__e/node20/bin/
48+
curl -sSL https://raw.githubusercontent.com/${{ 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://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/.github/alpine/setup-node.sh | sudo bash /dev/stdin /__e/node20/bin/
121+
curl -sSL https://raw.githubusercontent.com/${{ 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
@@ -223,7 +225,9 @@ jobs:
223225
run: dotnet test ${{ matrix.slnf }} -c Release --no-build --nologo -l GitHubActions -l "trx;LogFilePrefix=testresults_${{ runner.os }}" --collect "XPlat Code Coverage"
224226

225227
- name: Upload code coverage
226-
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24
228+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7
229+
with:
230+
token: ${{ secrets.CODECOV_TOKEN }}
227231

228232
- name: Upload build and test outputs
229233
if: failure()
@@ -247,7 +251,7 @@ jobs:
247251
248252
- name: Sparse checkout
249253
if: env.CI_PUBLISHING_BUILD == 'true'
250-
uses: actions/checkout@v4
254+
uses: actions/checkout@v5
251255
with:
252256
# We only check out what is absolutely necessary to reduce a chance of local files impacting
253257
# integration tests (nuget.config etc.)... But we need the root Directory.Build.props calculate
@@ -287,7 +291,7 @@ jobs:
287291

288292
steps:
289293
- name: Checkout
290-
uses: actions/checkout@v4
294+
uses: actions/checkout@v5
291295
with:
292296
submodules: recursive
293297

@@ -340,7 +344,7 @@ jobs:
340344

341345
steps:
342346
- name: Checkout
343-
uses: actions/checkout@v4
347+
uses: actions/checkout@v5
344348
with:
345349
submodules: recursive
346350

@@ -370,7 +374,7 @@ jobs:
370374

371375
steps:
372376
- name: Checkout
373-
uses: actions/checkout@v4
377+
uses: actions/checkout@v5
374378
with:
375379
submodules: recursive
376380
fetch-depth: 2 # default is 1 and codecov needs > 1
@@ -409,7 +413,7 @@ jobs:
409413
if: ${{ !startsWith(github.ref_name, 'release/') }}
410414

411415
steps:
412-
- uses: actions/checkout@v4
416+
- uses: actions/checkout@v5
413417
with:
414418
submodules: recursive
415419

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ 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

3434
- name: Setup Environment
3535
uses: ./.github/actions/environment
3636

3737
- name: Initialize CodeQL
38-
uses: github/codeql-action/init@3c3833e0f8c1c83d449a7478aa59c036a9165498 # pin@v2
38+
uses: github/codeql-action/init@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # pin@v2
3939
with:
4040
languages: csharp
4141

@@ -49,6 +49,6 @@ jobs:
4949
run: dotnet build Sentry-CI-CodeQL.slnf --no-restore --nologo
5050

5151
- name: Perform CodeQL Analysis
52-
uses: github/codeql-action/analyze@3c3833e0f8c1c83d449a7478aa59c036a9165498 # pin@v2
52+
uses: github/codeql-action/analyze@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # pin@v2
5353
with:
5454
category: '/language:csharp'

.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

0 commit comments

Comments
 (0)