From e4a71b20bdf48ce4f4e58dfb9d67650ccc1e308d Mon Sep 17 00:00:00 2001 From: Majid Shahabfar Date: Wed, 20 Nov 2024 00:54:24 +0330 Subject: [PATCH] Add restore step for test project in release workflow Added a new step in `release.yml` to restore dependencies for the test project before the build and test steps. This ensures that the test project's dependencies are properly restored, maintaining the integrity and consistency of the build process. --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7a40a51..df1c9f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,9 @@ jobs: - name: Build run: dotnet build src/Univertall/Univertall.csproj --configuration Release --no-restore + - name: Restore test project dependencies + run: dotnet restore tests/Univertall.Tests/Univertall.Tests.csproj + - name: Test run: dotnet test --no-restore --verbosity normal