From 8bda8c8ab4f2e982d90963c39bff7bcad51064e4 Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Thu, 23 Nov 2023 23:51:02 +0330 Subject: [PATCH] update github actions --- .github/workflows/dotnet-format-action.yml | 2 ++ .github/workflows/dotnet-linux.yml | 2 ++ .github/workflows/dotnet-macos.yml | 2 ++ .github/workflows/dotnet-windows.yml | 2 ++ .github/workflows/nuget-push-public-linux.yml | 1 + .github/workflows/nuget-push-public-windows.yml | 1 + 6 files changed, 10 insertions(+) diff --git a/.github/workflows/dotnet-format-action.yml b/.github/workflows/dotnet-format-action.yml index 03cbee3..d3d2c53 100644 --- a/.github/workflows/dotnet-format-action.yml +++ b/.github/workflows/dotnet-format-action.yml @@ -15,6 +15,7 @@ jobs: dotnet-version: | 6.0.x 7.0.x + 8.0.x - name: Run dotnet format id: format uses: jfversluis/dotnet-format@v1.0.5 @@ -26,6 +27,7 @@ jobs: run: | dotnet test ./src/CSharp/EasyMicroservices.Cores.sln -f net6.0 dotnet test ./src/CSharp/EasyMicroservices.Cores.sln -f net7.0 + dotnet test ./src/CSharp/EasyMicroservices.Cores.sln -f net8.0 - name: Commit files if: steps.format.outputs.has-changes == 'true' uses: EndBug/add-and-commit@v4.1.0 diff --git a/.github/workflows/dotnet-linux.yml b/.github/workflows/dotnet-linux.yml index 54d624f..f3da1db 100644 --- a/.github/workflows/dotnet-linux.yml +++ b/.github/workflows/dotnet-linux.yml @@ -17,6 +17,7 @@ jobs: dotnet-version: | 6.0.x 7.0.x + 8.0.x env: NUGET_CERT_REVOCATION_MODE: offline - name: Restore dependencies @@ -27,3 +28,4 @@ jobs: run: | dotnet test ./src/CSharp/EasyMicroservices.Cores.sln --no-build --verbosity normal -f net6.0 dotnet test ./src/CSharp/EasyMicroservices.Cores.sln --no-build --verbosity normal -f net7.0 + dotnet test ./src/CSharp/EasyMicroservices.Cores.sln --no-build --verbosity normal -f net8.0 diff --git a/.github/workflows/dotnet-macos.yml b/.github/workflows/dotnet-macos.yml index 0289d0c..b88bc1b 100644 --- a/.github/workflows/dotnet-macos.yml +++ b/.github/workflows/dotnet-macos.yml @@ -17,6 +17,7 @@ jobs: dotnet-version: | 6.0.x 7.0.x + 8.0.x env: NUGET_CERT_REVOCATION_MODE: offline - name: Restore dependencies @@ -27,3 +28,4 @@ jobs: run: | dotnet test ./src/CSharp/EasyMicroservices.Cores.sln --no-build --verbosity normal -f net6.0 dotnet test ./src/CSharp/EasyMicroservices.Cores.sln --no-build --verbosity normal -f net7.0 + dotnet test ./src/CSharp/EasyMicroservices.Cores.sln --no-build --verbosity normal -f net8.0 diff --git a/.github/workflows/dotnet-windows.yml b/.github/workflows/dotnet-windows.yml index 70c6c44..ca2f216 100644 --- a/.github/workflows/dotnet-windows.yml +++ b/.github/workflows/dotnet-windows.yml @@ -17,6 +17,7 @@ jobs: dotnet-version: | 6.0.x 7.0.x + 8.0.x env: NUGET_CERT_REVOCATION_MODE: offline - name: Restore dependencies @@ -27,3 +28,4 @@ jobs: run: | dotnet test ./src/CSharp/EasyMicroservices.Cores.sln --no-build --verbosity normal -f net6.0 dotnet test ./src/CSharp/EasyMicroservices.Cores.sln --no-build --verbosity normal -f net7.0 + dotnet test ./src/CSharp/EasyMicroservices.Cores.sln --no-build --verbosity normal -f net8.0 diff --git a/.github/workflows/nuget-push-public-linux.yml b/.github/workflows/nuget-push-public-linux.yml index ff424a3..1a4b64f 100644 --- a/.github/workflows/nuget-push-public-linux.yml +++ b/.github/workflows/nuget-push-public-linux.yml @@ -12,6 +12,7 @@ jobs: dotnet-version: | 6.0.x 7.0.x + 8.0.x - name: Restore dependencies run: dotnet restore ./src/CSharp/EasyMicroservices.Cores.sln - name: Build diff --git a/.github/workflows/nuget-push-public-windows.yml b/.github/workflows/nuget-push-public-windows.yml index 9bcb3ef..42b2fea 100644 --- a/.github/workflows/nuget-push-public-windows.yml +++ b/.github/workflows/nuget-push-public-windows.yml @@ -12,6 +12,7 @@ jobs: dotnet-version: | 6.0.x 7.0.x + 8.0.x env: DOTNET_INSTALL_DIR: /usr/share/dotnet - name: Restore dependencies