diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ae5c948..e76a3f2 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
@@ -33,11 +40,15 @@ jobs:
- name: Move Lean
run: mv Lean ../Lean
- - name: BuildDataSource
- run: dotnet build ./QuantConnect.DataSource.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1
-
- - name: BuildTests
- run: dotnet build ./tests/Tests.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1
-
- - name: Run Tests
- run: dotnet test ./tests/bin/Release/net6.0/Tests.dll
+ - uses: addnab/docker-run-action@v3
+ with:
+ image: quantconnect/lean:foundation
+ options: --workdir /__w/Lean.DataSource.QuiverInsiderTrading/Lean.DataSource.QuiverInsiderTrading -v /home/runner/work:/__w
+ shell: bash
+ run: |
+ # BuildDataSource
+ dotnet build ./QuantConnect.DataSource.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1 && \
+ # BuildTests
+ dotnet build ./tests/Tests.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1 && \
+ # Run Tests
+ dotnet test ./tests/bin/Release/net9.0/Tests.dll
diff --git a/DataProcessing/DataProcessing.csproj b/DataProcessing/DataProcessing.csproj
index 65aed3a..e406004 100644
--- a/DataProcessing/DataProcessing.csproj
+++ b/DataProcessing/DataProcessing.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0
+ net9.0
process
true
diff --git a/QuantConnect.DataSource.csproj b/QuantConnect.DataSource.csproj
index 5ae1b4b..6fd6fbf 100644
--- a/QuantConnect.DataSource.csproj
+++ b/QuantConnect.DataSource.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net9.0
QuantConnect.DataSource
QuantConnect.DataSource.QuiverInsiderTrading
bin\$(Configuration)
diff --git a/tests/Tests.csproj b/tests/Tests.csproj
index 2a3d687..df01026 100644
--- a/tests/Tests.csproj
+++ b/tests/Tests.csproj
@@ -1,6 +1,6 @@
- net6.0
+ net9.0
QuantConnect.DataLibrary.Tests
@@ -10,8 +10,8 @@
-
-
+
+
all
@@ -22,4 +22,7 @@
+
+
+