Skip to content

Commit 1de66a0

Browse files
fix action
1 parent f303f0c commit 1de66a0

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.config/dotnet-tools.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
"version": 1,
33
"isRoot": true,
44
"tools": {
5+
"csharpier": {
6+
"version": "0.30.2",
7+
"commands": [
8+
"dotnet-csharpier"
9+
],
10+
"rollForward": false
11+
},
512
"fantomas": {
613
"version": "6.3.15",
714
"commands": [

.github/workflows/pr-build.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ jobs:
2020
8.0.x
2121
9.0.x
2222
23+
- name: Restore .NET tools
24+
run: dotnet tool restore
25+
2326
- name: Restore dependencies
2427
run: dotnet restore RestClient.sln
2528

2629
- name: Check code formatting with CSharpier
27-
run: |
28-
dotnet tool install --global csharpier
29-
dotnet csharpier --check .
30+
run: dotnet csharpier --check .
3031

3132
- name: Build solution
3233
run: dotnet build RestClient.sln --configuration Release --no-restore /warnaserror
@@ -45,9 +46,6 @@ jobs:
4546
cd Samples/NucliaDbClient
4647
docker compose down -v --remove-orphans || true
4748
48-
- name: Install Stryker Mutator
49-
run: dotnet tool install --global dotnet-stryker
50-
5149
- name: Run Stryker Mutation Testing
5250
run: dotnet stryker --break-at 100 --reporter "console" --reporter "html"
5351

0 commit comments

Comments
 (0)