From fb9793445d79083bf90672a766bbcdf6bd955e89 Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Fri, 12 Jan 2024 20:13:20 +0330 Subject: [PATCH] fix format --- .github/workflows/dotnet-format-action.yml | 30 +--------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/.github/workflows/dotnet-format-action.yml b/.github/workflows/dotnet-format-action.yml index c75a5f8..6c87329 100644 --- a/.github/workflows/dotnet-format-action.yml +++ b/.github/workflows/dotnet-format-action.yml @@ -16,24 +16,6 @@ jobs: 6.0.x 7.0.x 8.0.x - - name: Clone and run Authentication - run: | - git clone https://github.com/EasyMicroservices/Authentications-Microservice.git - cd Authentications-Microservice - dotnet run --project src/CSharp/EasyMicroservices.AuthenticationsMicroservice.WebApi/EasyMicroservices.AuthenticationsMicroservice.WebApi.csproj & - AUTH_PID=$! - echo "Started Authentication Service with PID $AUTH_PID" - cd .. - shell: bash - - name: Clone and run WhiteLabel - run: | - git clone https://github.com/EasyMicroservices/WhiteLabels-Microservice.git - cd WhiteLabels-Microservice - dotnet run --project src/CSharp/EasyMicroservices.WhiteLabelsMicroservice.WebApi/EasyMicroservices.WhiteLabelsMicroservice.WebApi.csproj & - WHITELABEL_PID=$! - echo "Started WhiteLabel Service with PID $WHITELABEL_PID" - cd .. - shell: bash - name: Run dotnet format id: format uses: jfversluis/dotnet-format@v1.0.5 @@ -41,9 +23,6 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} action: "fix" workspace: "./src/CSharp/EasyMicroservices.IdentityMicroservice.sln" - - name: Test - run: | - dotnet test ./src/CSharp/EasyMicroservices.IdentityMicroservice.sln -f net7.0 - name: Commit files if: steps.format.outputs.has-changes == 'true' uses: EndBug/add-and-commit@v4.1.0 @@ -53,11 +32,4 @@ jobs: message: "chore: Automated dotnet-format update" ref: ${{ github.head_ref }} env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Cleanup - if: always() - run: echo "Shutting down Authentication Service with PID $AUTH_PID" - kill $AUTH_PID echo "Authentication Service shutdown failed" - echo "Shutting down WhiteLabel Service with PID $WHITELABEL_PID" - kill $WHITELABEL_PID echo "WhiteLabel Service shutdown failed" \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file