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/run-create-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
dotnet-version: '7.0.x'

- name: Restore dependencies
run: dotnet restore
run: dotnet restore --no-cache

- name: Test
run: dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
run: dotnet test -c Release --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=opencover

- name: Build
run: dotnet build --configuration Release
run: dotnet build ./src/JacksonVeroneze.NET.EntityFramework/JacksonVeroneze.NET.EntityFramework.csproj -c Release --no-restore

- name: Pack
run: dotnet pack -c Release /p:Version=${{ github.event.release.tag_name }} --include-symbols --include-source
run: dotnet pack ./src/JacksonVeroneze.NET.EntityFramework/JacksonVeroneze.NET.EntityFramework.csproj -c Release /p:Version=${{ github.event.release.tag_name }} --include-symbols --include-source --no-restore

- name: Publish Package
run: dotnet nuget push ./src/JacksonVeroneze.NET.EntityFramework/bin/Release/JacksonVeroneze.NET.EntityFramework.${{ github.event.release.tag_name }}.nupkg --api-key ${{ secrets.NUGET_PUBLISH_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
8 changes: 4 additions & 4 deletions .github/workflows/run-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Run Unit Tests

on:
pull_request:
branches: [ main ]
branches: [ development, main ]

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -21,13 +21,13 @@ jobs:
dotnet-version: '7.0.x'

- name: Restore dependencies
run: dotnet restore
run: dotnet restore --no-cache

- name: Build
run: dotnet build --configuration Release --no-restore
run: dotnet build -c Release --no-restore

- name: Test
run: dotnet test --configuration Release --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
run: dotnet test -c Release --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=opencover

- uses: samspills/assign-pr-to-author@v1.0
if: github.event_name == 'pull_request' && github.event.action == 'opened'
Expand Down
1 change: 0 additions & 1 deletion README.md

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.3">
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="7.0.3"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="7.0.4"/>
<PackageReference Include="EFCore.NamingConventions" Version="7.0.2"/>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.3"/>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.4"/>
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="7.0.3"/>
<PackageReference Include="JacksonVeroneze.NET.Pagination" Version="1.0.6"/>
<PackageReference Include="JacksonVeroneze.NET.Pagination" Version="1.1.0"/>
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using JacksonVeroneze.NET.EntityFramework.Extensions;
using JacksonVeroneze.NET.EntityFramework.Interfaces;
using JacksonVeroneze.NET.Pagination;
using JacksonVeroneze.NET.Pagination.Extensions;
using Microsoft.EntityFrameworkCore;

namespace JacksonVeroneze.NET.EntityFramework.Repository;
Expand Down Expand Up @@ -166,7 +167,6 @@ public async Task<Page<TEntity>> GetPagedAsync(
whereExpression, nameof(whereExpression));

TEntity? result = await _dbSet
.AsNoTrackingWithIdentityResolution()
.Where(whereExpression)
.SingleOrDefaultAsync(cancellationToken);

Expand Down