Skip to content

Commit

Permalink
Single step CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
tboby committed Oct 24, 2024
1 parent dc95c13 commit 635df05
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/buildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ jobs:
- name: Tool restore
run: dotnet tool restore
- name: Format Check
run: dotnet fantomas . --check
- name: log format failure
if: failure()
run: echo "The code was not formatted, run 'dotnet fantomas .' to format all code."
run: dotnet fantomas . --check || { if [ $? -eq 99 ]; then echo "The code was not formatted, run 'dotnet fantomas .' to format all code."; exit 1; fi; }
- name: Restore
run: dotnet restore
- name: Run Build
Expand Down

0 comments on commit 635df05

Please sign in to comment.