Skip to content

Commit 367e5c5

Browse files
committed
feat: add tools
1 parent 908994a commit 367e5c5

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.config/dotnet-tools.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"dotnet-ef": {
6+
"version": "10.0.2",
7+
"commands": [
8+
"dotnet-ef"
9+
],
10+
"rollForward": false
11+
}
12+
}
13+
}

.github/workflows/build-and-dockerize.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
run: dotnet build --configuration Release --no-restore
4646
- name: Migrate DB
4747
run: |
48-
dotnet tool install --global dotnet-ef
48+
dotnet tool restore
4949
dotnet ef database update --startup-project BervProject.WebApi.Boilerplate --project BervProject.WebApi.Boilerplate
5050
- name: Test
5151
run: dotnet test --configuration Release --no-restore --no-build --verbosity normal --collect:"XPlat Code Coverage"

0 commit comments

Comments
 (0)