Skip to content

Commit efaa83e

Browse files
Merge remote-tracking branch 'origin/version6' into isolated-cache
2 parents ada094b + 130650d commit efaa83e

File tree

346 files changed

+10888
-4588
lines changed

Some content is hidden

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

346 files changed

+10888
-4588
lines changed

.editorconfig

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ indent_size = 2
4040
# Sort using and Import directives with System.* appearing first
4141
dotnet_sort_system_directives_first = true
4242

43+
# Keep using directives at the top of the file, outside of the namespace
44+
csharp_using_directive_placement = outside_namespace
45+
4346
# Avoid "this." and "Me." if not necessary
4447
dotnet_style_qualification_for_field = false : warning
4548
dotnet_style_qualification_for_property = false : warning
@@ -204,4 +207,14 @@ indent_size = unset
204207
indent_style = unset
205208
insert_final_newline = false
206209
tab_width = unset
207-
trim_trailing_whitespace = false
210+
trim_trailing_whitespace = false
211+
212+
# Disable AOT analyser for test files
213+
[test/**/*.cs]
214+
dotnet_diagnostic.IL2026.severity = none
215+
dotnet_diagnostic.IL2070.severity = none
216+
dotnet_diagnostic.IL2075.severity = none
217+
dotnet_diagnostic.IL2090.severity = none
218+
219+
# This appears to be broken and results in false positives (causing dotnet format to delete valid test scenarios)
220+
dotnet_diagnostic.xUnit1025.severity = none

.github/actions/buildnative/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runs:
1414
echo "JAVA_HOME_11=$JAVA_HOME_11_X64" >> $GITHUB_ENV
1515
fi
1616
17-
- uses: actions/cache@v3
17+
- uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
1818
id: cache-c
1919
with:
2020
path: lib/sentrysupplemental/bin
@@ -35,7 +35,7 @@ runs:
3535
shell: cmd
3636
run: lib\sentrysupplemental\build.cmd
3737

38-
- uses: actions/cache@v3
38+
- uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
3939
id: cache-android
4040
with:
4141
path: lib/sentry-android-supplemental/bin

.github/actions/environment/action.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ runs:
2424
shell: bash
2525
run: sudo chmod 666 /var/run/docker.sock
2626

27+
# Install old deprecated libssl1 for .NET 5.0 on Linux
28+
- name: Install libssl1 for NET 5.0 on Linux
29+
if: ${{ runner.os == 'Linux' }}
30+
shell: bash
31+
run: sudo ./scripts/install-libssl1.sh
32+
2733
- name: Install Linux ARM 32-bit dependencies
2834
if: ${{ matrix.rid == 'linux-arm' }}
2935
shell: bash
@@ -38,15 +44,16 @@ runs:
3844
uses: ./.github/actions/install-zstd
3945

4046
# See https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md#xcode
47+
# Also https://github.com/dotnet/macios/issues/21762#issuecomment-3424033859 (don't reference symlinks)
4148
- name: Pin the Xcode Version
4249
if: runner.os == 'macOS'
4350
shell: bash
44-
run: sudo xcode-select --switch /Applications/Xcode_16.4.app
51+
run: sudo xcode-select --switch /Applications/Xcode_26.0.1.app
4552

4653
# Java 17 is needed for Android SDK setup step
4754
- name: Install Java 17
4855
if: ${{ !matrix.container }}
49-
uses: actions/setup-java@v4
56+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
5057
with:
5158
distribution: ${{ runner.os == 'Windows' && runner.arch == 'ARM64' && 'microsoft' || 'temurin' }}
5259
java-version: '17'
@@ -56,13 +63,13 @@ runs:
5663
uses: android-actions/setup-android@07976c6290703d34c16d382cb36445f98bb43b1f # v3.2.0
5764
with:
5865
# Exclude "tools" because the emulator is not needed (nor available for Windows/Linux ARM64)
59-
packages: platform-tools platforms;android-34 platforms;android-35 build-tools;36.0.0
66+
packages: platform-tools platforms;android-35 platforms;android-36 build-tools;36.0.0
6067
log-accepted-android-sdk-licenses: false
6168

6269
# Java 11 is needed by .NET Android
6370
- name: Install Java 11
6471
if: ${{ !matrix.container }}
65-
uses: actions/setup-java@v4
72+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
6673
with:
6774
distribution: ${{ runner.os == 'Windows' && runner.arch == 'ARM64' && 'microsoft' || 'temurin' }}
6875
java-version: '11'
@@ -85,12 +92,20 @@ runs:
8592
sudo chmod -R a+rw /usr/share/dotnet
8693
8794
- name: Install .NET SDK
88-
uses: actions/setup-dotnet@v4
95+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
8996
with:
97+
global-json-file: global.json
9098
dotnet-version: |
9199
8.0.x
92100
9.0.304
93101
102+
# .NET 5.0 does not support ARM64 on macOS
103+
- name: Install .NET 5.0 SDK
104+
if: ${{ runner.os != 'macOS' || runner.arch != 'ARM64' }}
105+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
106+
with:
107+
dotnet-version: 5.0.x
108+
94109
- name: Install .NET Workloads
95110
shell: bash
96111
run: |

.github/actions/freediskspace/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66

77
- name: Free Disk Space
88
if: runner.os == 'Linux'
9-
uses: jlumbroso/free-disk-space@f68fdb76e2ea636224182cfb7377ff9a1708f9b8
9+
uses: jlumbroso/free-disk-space@f68fdb76e2ea636224182cfb7377ff9a1708f9b8 # v1.3.0
1010
with:
1111
android: false
1212
dotnet: false

.github/workflows/alpine.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ jobs:
2323
packages: write
2424

2525
steps:
26-
- uses: actions/checkout@v5
26+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2727

28-
- uses: docker/login-action@v3
28+
- uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
2929
with:
3030
registry: ghcr.io
3131
username: ${{ github.actor }}
3232
password: ${{ secrets.GITHUB_TOKEN }}
3333

34-
- uses: docker/setup-qemu-action@v3
35-
- uses: docker/setup-buildx-action@v3
34+
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
35+
- uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
3636

37-
- uses: docker/build-push-action@v6
37+
- uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
3838
with:
3939
push: true
4040
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)