From 92b1512469d1883b608d99665e168e9141f4d2fa Mon Sep 17 00:00:00 2001 From: Martin Molinero Date: Thu, 12 Dec 2024 20:17:22 -0300 Subject: [PATCH] Dotnet 9 --- .github/workflows/gh-actions.yml | 13 ++++++---- ...t.InteractiveBrokersBrokerage.Tests.csproj | 24 +++++++++++-------- ...Connect.InteractiveBrokersBrokerage.csproj | 2 +- 3 files changed, 24 insertions(+), 15 deletions(-) diff --git a/.github/workflows/gh-actions.yml b/.github/workflows/gh-actions.yml index e1889eb..c8e5e38 100644 --- a/.github/workflows/gh-actions.yml +++ b/.github/workflows/gh-actions.yml @@ -6,13 +6,18 @@ on: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v2 - - name: Free space - run: df -h && rm -rf /opt/hostedtoolcache* && df -h + - name: Liberate disk space + uses: jlumbroso/free-disk-space@main + with: + tool-cache: true + large-packages: false + docker-images: false + swap-storage: false - name: Checkout Lean Same Branch id: lean-same-branch @@ -41,6 +46,6 @@ jobs: shell: bash run: | # Build - dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.InteractiveBrokersBrokerage.sln + dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.InteractiveBrokersBrokerage.sln && \ # Run Tests dotnet test ./QuantConnect.InteractiveBrokersBrokerage.Tests/bin/Release/QuantConnect.Brokerages.InteractiveBrokers.Tests.dll diff --git a/QuantConnect.InteractiveBrokersBrokerage.Tests/QuantConnect.InteractiveBrokersBrokerage.Tests.csproj b/QuantConnect.InteractiveBrokersBrokerage.Tests/QuantConnect.InteractiveBrokersBrokerage.Tests.csproj index a5c0881..5d782ad 100644 --- a/QuantConnect.InteractiveBrokersBrokerage.Tests/QuantConnect.InteractiveBrokersBrokerage.Tests.csproj +++ b/QuantConnect.InteractiveBrokersBrokerage.Tests/QuantConnect.InteractiveBrokersBrokerage.Tests.csproj @@ -3,7 +3,7 @@ Release AnyCPU - net6.0 + net9.0 false Copyright © 2021 @@ -18,10 +18,9 @@ - - + + all - runtime; build; native; contentfiles; analyzers; buildtransitive @@ -31,13 +30,18 @@ - - - ..\QuantConnect.InteractiveBrokersBrokerage\CSharpAPI.dll - False - - + + + ..\QuantConnect.InteractiveBrokersBrokerage\CSharpAPI.dll + False + + + + + + + diff --git a/QuantConnect.InteractiveBrokersBrokerage/QuantConnect.InteractiveBrokersBrokerage.csproj b/QuantConnect.InteractiveBrokersBrokerage/QuantConnect.InteractiveBrokersBrokerage.csproj index d6961e4..86436a0 100644 --- a/QuantConnect.InteractiveBrokersBrokerage/QuantConnect.InteractiveBrokersBrokerage.csproj +++ b/QuantConnect.InteractiveBrokersBrokerage/QuantConnect.InteractiveBrokersBrokerage.csproj @@ -2,7 +2,7 @@ Release AnyCPU - net6.0 + net9.0 QuantConnect.Brokerages.InteractiveBrokers QuantConnect.Brokerages.InteractiveBrokers QuantConnect.Brokerages.InteractiveBrokers