Skip to content

Sourcegen implement #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
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
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Install dependencies
working-directory: ${{env.working-directory}}
run: dotnet restore
- name: Build
working-directory: ${{env.working-directory}}
run: dotnet build Codehard.Functional.sln --configuration Release --no-restore /p:ContinuousIntegrationBuild=true
run: dotnet build Codehard.Functional.sln --configuration Release /p:ContinuousIntegrationBuild=true
- name: Unit Test
working-directory: ${{env.working-directory}}
run: dotnet test Codehard.Functional.sln --no-restore --verbosity normal
run: dotnet test Codehard.Functional.sln --verbosity normal

build-and-test-common:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public async Task WhenMapFailToInternalServerError_ShouldHaveHttpResultErrorWith
{
// Arrange
var aff = Aff(() => ValueTask.FromException<int>(new Exception("Something went wrong")));

// Act
var res = await aff.MapFailToInternalServerError("Err001")
.Run();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Codehard.Functional.AspNetCore\Codehard.Functional.AspNetCore.csproj" />
<ProjectReference Include="..\Codehard.Functional.AspNetCore\Codehard.Functional.AspNetCore.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="true" />
</ItemGroup>

</Project>
Loading