mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
Add dotnet-format tool (#1756)
This commit is contained in:
parent
9a19d96fa5
commit
61dc65aa59
@ -2,6 +2,12 @@
|
|||||||
"version": 1,
|
"version": 1,
|
||||||
"isRoot": true,
|
"isRoot": true,
|
||||||
"tools": {
|
"tools": {
|
||||||
|
"dotnet-format": {
|
||||||
|
"version": "5.1.250801",
|
||||||
|
"commands": [
|
||||||
|
"dotnet-format"
|
||||||
|
]
|
||||||
|
},
|
||||||
"swashbuckle.aspnetcore.cli": {
|
"swashbuckle.aspnetcore.cli": {
|
||||||
"version": "5.0.0-rc4",
|
"version": "5.0.0-rc4",
|
||||||
"commands": [
|
"commands": [
|
@ -5,6 +5,7 @@ root = true
|
|||||||
|
|
||||||
# Don't use tabs for indentation.
|
# Don't use tabs for indentation.
|
||||||
[*]
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
indent_style = space
|
indent_style = space
|
||||||
# (Please don't specify an indent_size here; that has too many unintended consequences.)
|
# (Please don't specify an indent_size here; that has too many unintended consequences.)
|
||||||
|
|
||||||
|
1
.github/PULL_REQUEST_TEMPLATE.md
vendored
1
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
|
|
||||||
## Before you submit
|
## 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
|
- [ ] 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)
|
- [ ] 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)
|
- [ ] This change requires a **documentation update** (notify the documentation team)
|
||||||
|
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -66,6 +66,15 @@ jobs:
|
|||||||
- name: Build solution
|
- name: Build solution
|
||||||
run: msbuild bitwarden-server.sln /p:Configuration=Debug /verbosity:minimal
|
run: msbuild bitwarden-server.sln /p:Configuration=Debug /verbosity:minimal
|
||||||
shell: pwsh
|
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
|
- name: Test OSS solution
|
||||||
run: dotnet test ./test --configuration Debug --no-build
|
run: dotnet test ./test --configuration Debug --no-build
|
||||||
|
Loading…
Reference in New Issue
Block a user