1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-03 00:52:49 -05:00

Add dotnet-format tool (#1756)

This commit is contained in:
Oscar Hinton
2021-12-16 08:48:30 +01:00
committed by GitHub
parent 9a19d96fa5
commit 61dc65aa59
4 changed files with 17 additions and 0 deletions

View File

@ -22,6 +22,7 @@
## Before you submit
- [ ] I have checked for formatting errors (`dotnet tool run dotnet-format --check`) (required)
- [ ] If making database changes - I have also updated Entity Framework queries and/or migrations
- [ ] I have added **unit tests** where it makes sense to do so (encouraged but not required)
- [ ] This change requires a **documentation update** (notify the documentation team)

View File

@ -66,6 +66,15 @@ jobs:
- name: Build solution
run: msbuild bitwarden-server.sln /p:Configuration=Debug /verbosity:minimal
shell: pwsh
# TODO: This can be removed when upgrading to .NET 6
- name: Restore tools
run: dotnet tool restore
shell: pwsh
# - name: Verify Format
# run: dotnet tool run dotnet-format --check
# shell: pwsh
- name: Test OSS solution
run: dotnet test ./test --configuration Debug --no-build