From f2b80a1e619d969071daf83670a4ddeb50362439 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Wed, 26 Mar 2025 23:53:47 -0500 Subject: [PATCH] chore: update api workflow to account for presence of console projects --- .github/workflows/api_pull_request.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/api_pull_request.yml b/.github/workflows/api_pull_request.yml index b0338c3..abce25e 100644 --- a/.github/workflows/api_pull_request.yml +++ b/.github/workflows/api_pull_request.yml @@ -23,8 +23,10 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: 9.x.x - - name: Format project - run: dotnet format --verbosity normal + - name: Format projects + run: | + dotnet format ./AltGen.API/AltGen.API.csproj --verbosity normal + dotnet format ./AltGen.API.Tests/AltGen.API.Tests.csproj --verbosity normal - name: Commit Changes run: | git config user.name "GitHub Actions" @@ -48,9 +50,9 @@ jobs: with: dotnet-version: 9.x.x - name: Restore dependencies - run: dotnet restore + run: dotnet restore ./AltGen.API.Tests/AltGen.API.Tests.csproj - name: Build project - run: dotnet build --no-restore + run: dotnet build ./AltGen.API.Tests/AltGen.API.Tests.csproj --no-restore - name: Test project - run: dotnet test --filter FullyQualifiedName!~PromptEvaluation + run: dotnet test ./AltGen.API.Tests/AltGen.API.Tests.csproj --filter FullyQualifiedName!~PromptEvaluation