diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f6a6d06..060a6a1 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -8,18 +8,18 @@ on:
jobs:
build:
- runs-on: ubuntu-20.04
- env:
- QC_JOB_USER_ID: ${{ secrets.QC_JOB_USER_ID }}
- QC_API_ACCESS_TOKEN: ${{ secrets.QC_API_ACCESS_TOKEN }}
- QC_JOB_ORGANIZATION_ID: ${{ secrets.QC_JOB_ORGANIZATION_ID }}
- QC_COINAPI_API_KEY: ${{ secrets.QC_COINAPI_API_KEY }}
+ 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
@@ -45,15 +45,13 @@ jobs:
with:
image: quantconnect/lean:foundation
options: -v /home/runner/work:/__w --workdir /__w/Lean.DataSource.CoinAPI/Lean.DataSource.CoinAPI -e QC_JOB_USER_ID=${{ secrets.QC_JOB_USER_ID }} -e QC_API_ACCESS_TOKEN=${{ secrets.QC_API_ACCESS_TOKEN }} -e QC_JOB_ORGANIZATION_ID=${{ secrets.QC_JOB_ORGANIZATION_ID }} -e QC_COINAPI_API_KEY=${{ secrets.QC_COINAPI_API_KEY }}
-
- - name: Build QuantConnect.DataSource.CoinAPI
- run: dotnet build ./QuantConnect.CoinAPI/QuantConnect.DataSource.CoinAPI.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1
-
- - name: Build DataProcessing
- run: dotnet build ./DataProcessing/DataProcessing.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1
-
- - name: Build QuantConnect.DataSource.CoinAPI.Tests
- run: dotnet build ./QuantConnect.CoinAPI.Tests/QuantConnect.DataSource.CoinAPI.Tests.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1
-
- - name: Run QuantConnect.DataSource.CoinAPI.Tests
- run: dotnet test ./QuantConnect.CoinAPI.Tests/bin/Release/QuantConnect.Lean.DataSource.CoinAPI.Tests.dll
\ No newline at end of file
+ shell: bash
+ run: |
+ # Build QuantConnect.DataSource.CoinAPI
+ dotnet build ./QuantConnect.CoinAPI/QuantConnect.DataSource.CoinAPI.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1 && \
+ # Build DataProcessing
+ dotnet build ./DataProcessing/DataProcessing.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1 && \
+ # Build QuantConnect.DataSource.CoinAPI.Tests
+ dotnet build ./QuantConnect.CoinAPI.Tests/QuantConnect.DataSource.CoinAPI.Tests.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1 && \
+ # Run QuantConnect.DataSource.CoinAPI.Tests
+ dotnet test ./QuantConnect.CoinAPI.Tests/bin/Release/QuantConnect.Lean.DataSource.CoinAPI.Tests.dll
\ No newline at end of file
diff --git a/DataProcessing/DataProcessing.csproj b/DataProcessing/DataProcessing.csproj
index d27e9b0..730b411 100644
--- a/DataProcessing/DataProcessing.csproj
+++ b/DataProcessing/DataProcessing.csproj
@@ -4,7 +4,7 @@
Release
AnyCPU
Exe
- net6.0
+ net9.0
process
true
bin\$(Configuration)
diff --git a/QuantConnect.CoinAPI.Tests/QuantConnect.DataSource.CoinAPI.Tests.csproj b/QuantConnect.CoinAPI.Tests/QuantConnect.DataSource.CoinAPI.Tests.csproj
index 06c29fd..d1c83ad 100644
--- a/QuantConnect.CoinAPI.Tests/QuantConnect.DataSource.CoinAPI.Tests.csproj
+++ b/QuantConnect.CoinAPI.Tests/QuantConnect.DataSource.CoinAPI.Tests.csproj
@@ -3,7 +3,7 @@
Release
AnyCPU
- net6.0
+ net9.0
bin\$(Configuration)\
QuantConnect.Lean.DataSource.CoinAPI.Tests
QuantConnect.Lean.DataSource.CoinAPI.Tests
@@ -20,14 +20,16 @@
-
-
+
+
all
- runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
diff --git a/QuantConnect.CoinAPI/QuantConnect.DataSource.CoinAPI.csproj b/QuantConnect.CoinAPI/QuantConnect.DataSource.CoinAPI.csproj
index 410707d..fdb94c3 100644
--- a/QuantConnect.CoinAPI/QuantConnect.DataSource.CoinAPI.csproj
+++ b/QuantConnect.CoinAPI/QuantConnect.DataSource.CoinAPI.csproj
@@ -3,7 +3,7 @@
Release
AnyCPU
- net6.0
+ net9.0
QuantConnect.Lean.DataSource.CoinAPI
QuantConnect.Lean.DataSource.CoinAPI
QuantConnect.Lean.DataSource.CoinAPI