Skip to content

Commit 5487cfd

Browse files
Use .NET 10 GA (#2309)
1 parent b034cda commit 5487cfd

File tree

3 files changed

+14
-32
lines changed

3 files changed

+14
-32
lines changed

.github/workflows/build-dev.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
steps:
2727
-
2828
name: Checkout
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
3030
-
3131
name: Setup .NET
32-
uses: actions/setup-dotnet@v4
32+
uses: actions/setup-dotnet@v5
3333
with:
34-
dotnet-version: '9.0.x'
34+
dotnet-version: '10.0.x'
3535
-
3636
name: Unshallow
3737
run: git fetch --prune --unshallow

.github/workflows/pull-request.yml

Lines changed: 10 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -19,35 +19,26 @@ jobs:
1919
with:
2020
name: Event File
2121
path: ${{ github.event_path }}
22+
2223
test-windows:
2324
runs-on: windows-latest
2425
strategy:
2526
matrix:
2627
dotnet: ['net48', 'net8.0', 'net9.0', 'net10.0']
2728

2829
steps:
29-
-
30-
name: Checkout
30+
- name: Checkout
3131
uses: actions/checkout@v5
32-
-
33-
name: Setup .NET
32+
- name: Setup .NET
3433
uses: actions/setup-dotnet@v5
3534
with:
3635
dotnet-version: |
3736
8.0.x
3837
9.0.x
39-
-
40-
name: Setup .NET 10
41-
uses: actions/setup-dotnet@v5
42-
with:
43-
dotnet-version: |
4438
10.0.x
45-
dotnet-quality: 'preview'
46-
-
47-
name: Run tests
39+
- name: Run tests
4840
run: dotnet test -c Debug -f ${{ matrix.dotnet }}
49-
-
50-
name: Upload Test Results
41+
- name: Upload Test Results
5142
if: always()
5243
uses: actions/upload-artifact@v5
5344
with:
@@ -61,31 +52,21 @@ jobs:
6152
runs-on: ubuntu-latest
6253
strategy:
6354
matrix:
64-
dotnet: ['net8.0', 'net9.0', 'net10.0']
55+
dotnet: [ 'net8.0', 'net9.0', 'net10.0' ]
6556

6657
steps:
67-
-
68-
name: Checkout
58+
- name: Checkout
6959
uses: actions/checkout@v5
70-
-
71-
name: Setup .NET
60+
- name: Setup .NET
7261
uses: actions/setup-dotnet@v5
7362
with:
7463
dotnet-version: |
7564
8.0.x
7665
9.0.x
77-
-
78-
name: Setup .NET 10
79-
uses: actions/setup-dotnet@v5
80-
with:
81-
dotnet-version: |
8266
10.0.x
83-
dotnet-quality: 'preview'
84-
-
85-
name: Run tests
67+
- name: Run tests
8668
run: dotnet test -f ${{ matrix.dotnet }}
87-
-
88-
name: Upload Test Results
69+
- name: Upload Test Results
8970
if: always()
9071
uses: actions/upload-artifact@v5
9172
with:

test/RestSharp.Tests.Integrated/DownloadFileTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System.Text;
2+
23
// ReSharper disable MethodHasAsyncOverload
34

45
namespace RestSharp.Tests.Integrated;

0 commit comments

Comments
 (0)