Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
SQLSchemaCompare/yarn.lock
SQLSchemaCompare.UI/yarn.lock
- name: Restore dependencies
run: dotnet restore
run: dotnet restore --locked-mode
- name: Build
run: dotnet build --no-restore SQLSchemaCompare.Test -c Release
- name: docker pull images
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
SQLSchemaCompare/yarn.lock
SQLSchemaCompare.UI/yarn.lock
- name: Restore dependencies
run: dotnet restore
run: dotnet restore --locked-mode
- name: Build
run: dotnet build --no-restore SQLSchemaCompare.Test -c Release
- name: docker pull images
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
SQLSchemaCompare/yarn.lock
SQLSchemaCompare.UI/yarn.lock
- name: Restore dependencies
run: dotnet restore
run: dotnet restore --locked-mode
- name: Build
run: dotnet build --no-restore SQLSchemaCompare.Test -c Release
- name: docker pull images
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
SQLSchemaCompare/yarn.lock
SQLSchemaCompare.UI/yarn.lock
- name: Restore dependencies
run: dotnet restore
run: dotnet restore --locked-mode
- name: Build
run: dotnet build --no-restore SQLSchemaCompare.Test -c Release
- name: docker pull images
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
SQLSchemaCompare.UI/yarn.lock

- name: Restore win-x64 dependencies
run: dotnet restore -r win-x64
run: dotnet restore --locked-mode -r win-x64
- name: Build win-x64
run: dotnet build --no-restore SQLSchemaCompare.UI -r win-x64 -c Release
- name: Publish win-x64
Expand All @@ -39,7 +39,7 @@ jobs:
include-hidden-files: true

- name: Restore linux-x64 dependencies
run: dotnet restore -r linux-x64
run: dotnet restore --locked-mode -r linux-x64
- name: Build linux-x64
run: dotnet build --no-restore SQLSchemaCompare.UI -r linux-x64 -c Release
- name: Publish linux-x64
Expand All @@ -53,7 +53,7 @@ jobs:
include-hidden-files: true

- name: Restore osx-x64 dependencies
run: dotnet restore -r osx-x64
run: dotnet restore --locked-mode -r osx-x64
- name: Build osx-x64
run: dotnet build --no-restore SQLSchemaCompare.UI -r osx-x64 -c Release
- name: Publish osx-x64
Expand All @@ -67,7 +67,7 @@ jobs:
include-hidden-files: true

- name: Restore osx-arm64 dependencies
run: dotnet restore -r osx-arm64
run: dotnet restore --locked-mode -r osx-arm64
- name: Build osx-arm64
run: dotnet build --no-restore SQLSchemaCompare.UI -r osx-arm64 -c Release
- name: Publish osx-arm64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
SQLSchemaCompare/yarn.lock
SQLSchemaCompare.UI/yarn.lock
- name: Restore dependencies
run: dotnet restore
run: dotnet restore --locked-mode
- name: Build
run: dotnet build --no-restore -c Release
- name: Test
Expand Down
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<Description>https://github.com/TiCodeX/SQLSchemaCompare</Description>
<Authors>TiCodeX</Authors>
<Version>2026.3.1</Version>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<ImplicitUsings>enable</ImplicitUsings>
<IncludeServicesUsings>true</IncludeServicesUsings>
Expand Down
8 changes: 4 additions & 4 deletions SQLSchemaCompare.CLI/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ COPY ["SQLSchemaCompare.Infrastructure/SQLSchemaCompare.Infrastructure.csproj",
COPY ["SQLSchemaCompare.CLI/SQLSchemaCompare.CLI.csproj", "SQLSchemaCompare.CLI/"]

# restore the projects (this will be very fast with layer caching if the csproj files haven't changed)
RUN dotnet restore -r linux-musl-x64 SQLSchemaCompare.Core
RUN dotnet restore -r linux-musl-x64 SQLSchemaCompare.Services
RUN dotnet restore -r linux-musl-x64 SQLSchemaCompare.Infrastructure
RUN dotnet restore -r linux-musl-x64 SQLSchemaCompare.CLI
RUN dotnet restore --locked-mode -r linux-musl-x64 SQLSchemaCompare.Core
RUN dotnet restore --locked-mode -r linux-musl-x64 SQLSchemaCompare.Services
RUN dotnet restore --locked-mode -r linux-musl-x64 SQLSchemaCompare.Infrastructure
RUN dotnet restore --locked-mode -r linux-musl-x64 SQLSchemaCompare.CLI

# Copy the rest of the code (we only copy the necessary files to make good use of layer caching)
COPY SQLSchemaCompare.Core/ SQLSchemaCompare.Core
Expand Down
1 change: 1 addition & 0 deletions SQLSchemaCompare.CLI/SQLSchemaCompare.CLI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<AssemblyName>TiCodeX.SQLSchemaCompare.CLI</AssemblyName>
<RootNamespace>TiCodeX.SQLSchemaCompare.CLI</RootNamespace>
<OutputType>Exe</OutputType>
<RuntimeIdentifiers>win-x64;linux-x64;osx-x64;osx-arm64</RuntimeIdentifiers>
<PublishDir>..\.publish</PublishDir>
<SelfContained>true</SelfContained>
</PropertyGroup>
Expand Down
Loading
Loading