Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
-
name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v5
with:
dotnet-version: '9.0.x'
dotnet-version: '10.0.x'
-
name: Unshallow
run: git fetch --prune --unshallow
Expand Down
39 changes: 10 additions & 29 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,35 +19,26 @@ jobs:
with:
name: Event File
path: ${{ github.event_path }}

test-windows:
runs-on: windows-latest
strategy:
matrix:
dotnet: ['net48', 'net8.0', 'net9.0', 'net10.0']

steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v5
-
name: Setup .NET
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.0.x
9.0.x
-
name: Setup .NET 10
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
10.0.x
dotnet-quality: 'preview'
-
name: Run tests
- name: Run tests
run: dotnet test -c Debug -f ${{ matrix.dotnet }}
-
name: Upload Test Results
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v5
with:
Expand All @@ -61,31 +52,21 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet: ['net8.0', 'net9.0', 'net10.0']
dotnet: [ 'net8.0', 'net9.0', 'net10.0' ]

steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v5
-
name: Setup .NET
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.0.x
9.0.x
-
name: Setup .NET 10
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
10.0.x
dotnet-quality: 'preview'
-
name: Run tests
- name: Run tests
run: dotnet test -f ${{ matrix.dotnet }}
-
name: Upload Test Results
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v5
with:
Expand Down
1 change: 1 addition & 0 deletions test/RestSharp.Tests.Integrated/DownloadFileTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Text;

// ReSharper disable MethodHasAsyncOverload

namespace RestSharp.Tests.Integrated;
Expand Down
Loading