From 53c1caa38dffac15b7966c49d3ac97681fe7a80e Mon Sep 17 00:00:00 2001 From: Josue Nina Date: Mon, 23 Dec 2024 16:30:24 -0500 Subject: [PATCH] Dotnet 9 --- .github/workflows/build.yml | 27 ++++++++++++++++++++------- DataProcessing/DataProcessing.csproj | 2 +- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b6121a2..29fb568 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,11 +8,18 @@ on: jobs: build: - runs-on: ubuntu-20.04 - container: - image: quantconnect/lean:foundation + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 + + - 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 @@ -32,6 +39,12 @@ jobs: - name: Move Lean run: mv Lean ../Lean - - - name: BuildDataProcessing - run: dotnet build ./DataProcessing/DataProcessing.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1 + + - uses: addnab/docker-run-action@v3 + with: + image: quantconnect/lean:foundation + options: --workdir /__w/Lean.DataSource.BinanceFundingRate/Lean.DataSource.BinanceFundingRate -v /home/runner/work:/__w + shell: bash + run: | + # BuildDataProcessing + dotnet build ./DataProcessing/DataProcessing.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1 \ No newline at end of file diff --git a/DataProcessing/DataProcessing.csproj b/DataProcessing/DataProcessing.csproj index 5260a72..878db08 100644 --- a/DataProcessing/DataProcessing.csproj +++ b/DataProcessing/DataProcessing.csproj @@ -1,7 +1,7 @@  Exe - net6.0 + net9.0 process true