From 24f35504334aa07aa2687a9a77f233b1e5033e6a Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Wed, 25 Oct 2023 17:28:41 +0330 Subject: [PATCH] fix actions --- .github/workflows/dotnet-format-action.yml | 5 +---- .github/workflows/dotnet-linux.yml | 5 +---- .github/workflows/dotnet-macos.yml | 5 +---- .github/workflows/dotnet-windows.yml | 2 -- .github/workflows/nuget-push-public.yml | 2 -- 5 files changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/dotnet-format-action.yml b/.github/workflows/dotnet-format-action.yml index 97af604..ac3cacb 100644 --- a/.github/workflows/dotnet-format-action.yml +++ b/.github/workflows/dotnet-format-action.yml @@ -13,8 +13,6 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: | - 3.1.x - 5.0.x 6.0.x 7.0.x - name: Run dotnet format @@ -26,9 +24,8 @@ jobs: workspace: "./src/CSharp/EasyMicroservices.Laboratory.sln" - name: Test run: | - dotnet test ./src/CSharp/EasyMicroservices.Laboratory.sln -f netcoreapp3.1 dotnet test ./src/CSharp/EasyMicroservices.Laboratory.sln -f net6.0 - dotnet test ./src/CSharp/EasyMicroservices.Laboratory.sln -f net5.0 + dotnet test ./src/CSharp/EasyMicroservices.Laboratory.sln -f net7.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 8d5615a..3d4a4f9 100644 --- a/.github/workflows/dotnet-linux.yml +++ b/.github/workflows/dotnet-linux.yml @@ -15,8 +15,6 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: | - 3.1.x - 5.0.x 6.0.x 7.0.x - name: Restore dependencies @@ -25,6 +23,5 @@ jobs: run: dotnet build ./src/CSharp/EasyMicroservices.Laboratory.sln --no-restore - name: Test run: | - dotnet test ./src/CSharp/EasyMicroservices.Laboratory.sln --no-build --verbosity normal -f netcoreapp3.1 dotnet test ./src/CSharp/EasyMicroservices.Laboratory.sln --no-build --verbosity normal -f net6.0 - dotnet test ./src/CSharp/EasyMicroservices.Laboratory.sln --no-build --verbosity normal -f net5.0 + dotnet test ./src/CSharp/EasyMicroservices.Laboratory.sln --no-build --verbosity normal -f net7.0 diff --git a/.github/workflows/dotnet-macos.yml b/.github/workflows/dotnet-macos.yml index ac7b097..d2f5868 100644 --- a/.github/workflows/dotnet-macos.yml +++ b/.github/workflows/dotnet-macos.yml @@ -15,8 +15,6 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: | - 3.1.x - 5.0.x 6.0.x 7.0.x - name: Restore dependencies @@ -25,6 +23,5 @@ jobs: run: dotnet build ./src/CSharp/EasyMicroservices.Laboratory.sln --no-restore - name: Test run: | - dotnet test ./src/CSharp/EasyMicroservices.Laboratory.sln --no-build --verbosity normal -f netcoreapp3.1 dotnet test ./src/CSharp/EasyMicroservices.Laboratory.sln --no-build --verbosity normal -f net6.0 - dotnet test ./src/CSharp/EasyMicroservices.Laboratory.sln --no-build --verbosity normal -f net5.0 + dotnet test ./src/CSharp/EasyMicroservices.Laboratory.sln --no-build --verbosity normal -f net7.0 diff --git a/.github/workflows/dotnet-windows.yml b/.github/workflows/dotnet-windows.yml index 5c3730a..7fedcd8 100644 --- a/.github/workflows/dotnet-windows.yml +++ b/.github/workflows/dotnet-windows.yml @@ -15,8 +15,6 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: | - 3.1.x - 5.0.x 6.0.x 7.0.x - name: Restore dependencies diff --git a/.github/workflows/nuget-push-public.yml b/.github/workflows/nuget-push-public.yml index 3abae06..9e3231b 100644 --- a/.github/workflows/nuget-push-public.yml +++ b/.github/workflows/nuget-push-public.yml @@ -10,8 +10,6 @@ jobs: - uses: actions/setup-dotnet@v3 with: dotnet-version: | - 3.1.x - 5.0.x 6.0.x 7.0.x env: