diff --git a/.github/workflows/build-pull.yml b/.github/workflows/build-pull.yml
index b376949a..6d611ee3 100644
--- a/.github/workflows/build-pull.yml
+++ b/.github/workflows/build-pull.yml
@@ -11,17 +11,16 @@ jobs:
steps:
- uses: actions/checkout@v4
+ - name: Fetch history
+ run: git fetch --prune --unshallow
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.0.x
+ dotnet-version: |
+ 5.0.x
+ 6.0.x
+ 8.0.x
- name: Restore dependencies
- run: |
- dotnet restore src/S7CommPlusDriver
- dotnet restore src/DriverTest
- dotnet restore src/S7CommPlusGUIBrowser
+ run: dotnet restore DotNetSiemensPLCToolBoxLibrary.sln
- name: Build
- run: |
- dotnet build src/S7CommPlusDriver
- dotnet build src/DriverTest
- dotnet build src/S7CommPlusGUIBrowser
+ run: dotnet build DotNetSiemensPLCToolBoxLibrary.sln
diff --git a/ToolBoxLibUnitTests/ToolBoxLibUnitTests.csproj b/ToolBoxLibUnitTests/ToolBoxLibUnitTests.csproj
index c07231ee..6397bcad 100644
--- a/ToolBoxLibUnitTests/ToolBoxLibUnitTests.csproj
+++ b/ToolBoxLibUnitTests/ToolBoxLibUnitTests.csproj
@@ -6,6 +6,7 @@
true
+ true