Skip to content

Commit

Permalink
grrrr
Browse files Browse the repository at this point in the history
  • Loading branch information
belav committed Nov 16, 2023
1 parent 118dc06 commit 3801d36
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/validate_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v3
- run: |
rm -r -f /Tests/CSharpier.MsBuild.Test
dotnet tool restore
dotnet csharpier . --check
test_msbuild:
Expand All @@ -33,5 +34,5 @@ jobs:
- uses: actions/setup-dotnet@v3
- run: |
dotnet pack Src/CSharpier.MsBuild/CSharpier.MsBuild.csproj -o nupkg /p:Version=0.0.1
dotnet build Src/Tests/CSharpier.MsBuild.Test
dotnet build Tests/CSharpier.MsBuild.Test
9 changes: 3 additions & 6 deletions Tests/CSharpier.MsBuild.Test/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS base

COPY

COPY nupkg ./nupkg
COPY Src/CSharpier.MsBuild.Test ./Src/CSharpier.MsBuild.Test

WORKDIR Src/CSharpier.MsBuild.Test
COPY global.json ./global.json
COPY Tests/CSharpier.MsBuild.Test ./Tests/CSharpier.MsBuild.Test

RUN dotnet build -c Release
RUN dotnet build Tests/CSharpier.MsBuild.Test -c Release
3 changes: 2 additions & 1 deletion Tests/CSharpier.MsBuild.Test/nuget.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="Test Source" value="../../nupkg" />
<clear />
<add key="Local" value="../../nupkg" />
</packageSources>
</configuration>

0 comments on commit 3801d36

Please sign in to comment.