Skip to content

Commit b86a65b

Browse files
committed
fix: CI
1 parent 73d8f68 commit b86a65b

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/CI.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
- pull_request
55
env:
66
ProjectName: ${{ github.event.repository.name }}
7+
DOTNET_CLI_TELEMETRY_OPTOUT: 1
8+
DOTNET_NOLOGO: 1
9+
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
10+
NET_VERSION: 10.0.x
711

812
jobs:
913
check_format:
@@ -12,7 +16,7 @@ jobs:
1216
- uses: actions/checkout@v5
1317
- uses: actions/setup-dotnet@v5
1418
with:
15-
dotnet-version: 10.0.x
19+
dotnet-version: ${{ env.NET_VERSION }}
1620

1721
- name: Check .NET format
1822
working-directory: src
@@ -25,13 +29,13 @@ jobs:
2529
os:
2630
- windows-latest
2731
- ubuntu-latest
28-
- macos-latest
32+
# - macos-latest
2933

3034
steps:
3135
- uses: actions/checkout@v5
3236
- uses: actions/setup-dotnet@v5
3337
with:
34-
dotnet-version: 10.0.x
38+
dotnet-version: ${{ env.NET_VERSION }}
3539

3640
- name: Run tests
3741
working-directory: src/${{ env.ProjectName }}.Tests
@@ -54,7 +58,7 @@ jobs:
5458
- uses: actions/checkout@v5
5559
- uses: actions/setup-dotnet@v5
5660
with:
57-
dotnet-version: 10.0.x
61+
dotnet-version: ${{ env.NET_VERSION }}
5862

5963
- name: Build
6064
working-directory: src/${{ matrix.NugetProjectName }}

src/CryptoBase.Tests/Usings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
1+
[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]

0 commit comments

Comments
 (0)