From 649402ecfe93949fe8b40c52325869d8f7bea625 Mon Sep 17 00:00:00 2001 From: Martin-Molinero Date: Thu, 19 Dec 2024 14:07:33 -0300 Subject: [PATCH] Dotnet 9 (#22) --- .github/workflows/gh-actions.yml | 13 +++++++++---- .../QuantConnect.DataSource.Polygon.Tests.csproj | 10 ++++++---- .../QuantConnect.DataSource.Polygon.csproj | 2 +- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.github/workflows/gh-actions.yml b/.github/workflows/gh-actions.yml index 62ab3be..adc1bb0 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.Polygon.sln + dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.Polygon.sln && \ # Run Tests dotnet test ./QuantConnect.Polygon.Tests/bin/Release/QuantConnect.Lean.DataSource.Polygon.Tests.dll diff --git a/QuantConnect.Polygon.Tests/QuantConnect.DataSource.Polygon.Tests.csproj b/QuantConnect.Polygon.Tests/QuantConnect.DataSource.Polygon.Tests.csproj index 6bd59c0..8fcde63 100644 --- a/QuantConnect.Polygon.Tests/QuantConnect.DataSource.Polygon.Tests.csproj +++ b/QuantConnect.Polygon.Tests/QuantConnect.DataSource.Polygon.Tests.csproj @@ -2,7 +2,7 @@ Release AnyCPU - net6.0 + net9.0 false UnitTest bin\$(Configuration)\ @@ -15,13 +15,15 @@ - - + + all - runtime; build; native; contentfiles; analyzers; buildtransitive + + + diff --git a/QuantConnect.Polygon/QuantConnect.DataSource.Polygon.csproj b/QuantConnect.Polygon/QuantConnect.DataSource.Polygon.csproj index 6bffa54..909fb0c 100644 --- a/QuantConnect.Polygon/QuantConnect.DataSource.Polygon.csproj +++ b/QuantConnect.Polygon/QuantConnect.DataSource.Polygon.csproj @@ -2,7 +2,7 @@ Release AnyCPU - net6.0 + net9.0 QuantConnect.Lean.DataSource.Polygon QuantConnect.Lean.DataSource.Polygon QuantConnect.Lean.DataSource.Polygon