Skip to content

Commit

Permalink
fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-YousefiTelori committed Oct 25, 2023
1 parent c844e6d commit 24f3550
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 16 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/dotnet-format-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/[email protected]
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/dotnet-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
5 changes: 1 addition & 4 deletions .github/workflows/dotnet-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 0 additions & 2 deletions .github/workflows/dotnet-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/nuget-push-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 24f3550

Please sign in to comment.