Skip to content

Commit

Permalink
build: enable locked mode (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
derevnjuk authored Nov 7, 2022
1 parent e2fc637 commit 7a1b353
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: ./.github/workflows/composite/net

- name: Restore .NET Dependencies
run: dotnet restore --nologo
run: dotnet restore --nologo --locked-mode

- name: Build
run: dotnet build -c Release --no-restore --nologo /p:CopyLocalLockFileAssemblies=true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: ./.github/workflows/composite/net

- name: Restore .NET Dependencies
run: dotnet restore --nologo
run: dotnet restore --nologo --locked-mode

- name: Build
run: dotnet build -c Release --no-restore --nologo /p:CopyLocalLockFileAssemblies=true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: ./.github/workflows/composite/net

- name: Restore .NET Dependencies
run: dotnet restore --nologo
run: dotnet restore --nologo --locked-mode

- name: Build
run: dotnet build -c Release --no-restore --nologo /p:CopyLocalLockFileAssemblies=true
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ To ensure consistency throughout the source code, keep these rules in mind as yo
To install all dependencies used by this project, issue this command in your terminal:

```bash
$ dotnet restore --nologo
$ dotnet restore --nologo --locked-mode
```

### Build
Expand Down

0 comments on commit 7a1b353

Please sign in to comment.