diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0511678..2479504 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,13 +8,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 && sudo rm -rf /usr/local/lib/android && sudo rm -rf /opt/ghc && 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 @@ -43,8 +48,8 @@ jobs: shell: bash run: | # Build NasdaqDataLink - dotnet build ./QuantConnect.DataSource.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1 + dotnet build ./QuantConnect.DataSource.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1 && \ # Build Tests NasdaqDataLink - dotnet build ./tests/Tests.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1 + dotnet build ./tests/Tests.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1 && \ # Run Tests NasdaqDataLink - dotnet test ./tests/bin/Release/net6.0/Tests.dll + dotnet test ./tests/bin/Release/net9.0/Tests.dll diff --git a/QuantConnect.DataSource.csproj b/QuantConnect.DataSource.csproj index 2b3ef69..429b8cd 100644 --- a/QuantConnect.DataSource.csproj +++ b/QuantConnect.DataSource.csproj @@ -1,7 +1,7 @@ - net6.0 + net9.0 QuantConnect.DataSource QuantConnect.DataSource.NasdaqDataLink bin\$(Configuration) @@ -10,7 +10,6 @@ - diff --git a/tests/Tests.csproj b/tests/Tests.csproj index ec7d9b9..e239505 100644 --- a/tests/Tests.csproj +++ b/tests/Tests.csproj @@ -1,15 +1,14 @@ - net6.0 + net9.0 QuantConnect.DataLibrary.Tests - - - + + all @@ -19,4 +18,7 @@ + + +