Use csharpier in the ci

This commit is contained in:
Zoe Roux
2023-12-07 18:23:42 +01:00
parent 7e6e56a366
commit bffd71fea5
2 changed files with 12 additions and 14 deletions
+8 -8
View File
@@ -5,16 +5,16 @@ jobs:
back:
name: "Lint Back"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./back
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
- name: Build the app
run: cd back && dotnet build -p:CheckCodingStyle=true -p:TreatWarningsAsErrors=true '-p:SkipTranscoder=true'
- name: Check coding style
run: |
dotnet tool restore
dotnet csharpier . --check
front:
name: "Lint Front"