From 7a1b353bf4eea4dfff7919f0ed02c965b3481b54 Mon Sep 17 00:00:00 2001 From: Artem Derevnjuk Date: Mon, 7 Nov 2022 23:36:22 +0400 Subject: [PATCH] build: enable locked mode (#17) --- .github/workflows/auto-build.yml | 2 +- .github/workflows/coverage.yml | 2 +- .github/workflows/deploy.yml | 2 +- CONTRIBUTING.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-build.yml b/.github/workflows/auto-build.yml index 4dfba9d..29491f5 100644 --- a/.github/workflows/auto-build.yml +++ b/.github/workflows/auto-build.yml @@ -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 diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index ec0d298..16bbc3f 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fbc4bca..7969f59 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 342ce75..d9b906c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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