Skip to content

Commit c74e296

Browse files
Introduce lockfiles (#786)
* chore: enable lock file generation * chore: add lock files * chore: set ContinuousIntegrationBuild for each dotnet command * chore: automatically set ContinuousIntegrationBuild to true when building with github actions * chore: set TreatWarningsAsErrors to true for all projects * chore: set EnforceCodeStyleInBuild to true for all projects * chore: update lockfiles * chore: explicitly set ContinuousIntegrationBuild for dotnet format and open source license check * chore: update lock files * ci: fix dotnet format by restoring separately * chore: delete orphaned lockfiles --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 623dae7 commit c74e296

File tree

120 files changed

+125169
-30
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+125169
-30
lines changed

.ci/checkFormatting.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/bash
22

3-
dotnet format --verify-no-changes
3+
dotnet restore /p:ContinuousIntegrationBuild=true
4+
dotnet format --no-restore --verify-no-changes

.ci/test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22

3-
dotnet restore "Backbone.sln"
4-
dotnet build --no-restore "Backbone.sln"
5-
dotnet test --no-restore --no-build --filter "Category!=Integration" --logger "GitHubActions;summary.includeNotFoundTests=false" "Backbone.sln"
3+
dotnet restore /p:ContinuousIntegrationBuild=true "Backbone.sln"
4+
dotnet build /p:ContinuousIntegrationBuild=true --no-restore "Backbone.sln"
5+
dotnet test /p:ContinuousIntegrationBuild=true --no-restore --no-build --filter "Category!=Integration" --logger "GitHubActions;summary.includeNotFoundTests=false" "Backbone.sln"

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,6 @@ jobs:
352352
- name: Show Ignored Packages
353353
run: cat ./.ci/ignoredPackages.json
354354
- name: Restore Solution
355-
run: dotnet restore ./Backbone.sln
355+
run: dotnet restore /p:ContinuousIntegrationBuild=true ./Backbone.sln
356356
- name: Validate Licenses
357357
run: nuget-license --input ./Backbone.sln --allowed-license-types ./.ci/allowedLicenses.json --ignored-packages ./.ci/ignoredPackages.json --output table --error-only

0 commit comments

Comments
 (0)