-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
63 changed files
with
102 additions
and
455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: EfAudit ci | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
continunous_delivery: | ||
name: build, test & deploy | ||
|
||
defaults: | ||
run: | ||
working-directory: ./ | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 7.0.x | ||
|
||
- name: Checkout main branch | ||
uses: actions/checkout@main | ||
with: | ||
dotnet-version: 7.0.x | ||
|
||
# - name: Build Solution | ||
# run: dotnet build --configuration Release | ||
|
||
- name: Test | ||
run: dotnet test ./EfAudit.Tests/EfAudit.Tests.csproj --verbosity normal --configuration Release /p:CollectCoverage=true | ||
|
||
- name: Publish | ||
run: dotnet publish ./EfAudit/EfAudit.csproj --configuration Release | ||
|
||
- name: Upload Artifacts | ||
uses: actions/[email protected] | ||
with: | ||
name: EfAudit for publish | ||
path: ./EfAudit/bin/Release/net7.0/publish/ | ||
if-no-files-found: error | ||
|
||
- name: pack nuget package | ||
working-directory: ./ | ||
run: dotnet pack ./EfAudit/EfAudit.csproj --configuration Release --output ./nupkg --include-symbols --include-source -p:SymbolPackageFormat=snupkg | ||
|
||
- name: Push packages to nuget | ||
working-directory: ./nupkg | ||
run: dotnet nuget push *.nupkg --api-key $nuget_api_key --source https://api.nuget.org/v3/index.json | ||
env: | ||
nuget_api_key: ${{secrets.NUGET_DEPLOY_KEY}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions
5
...Extractors/DefaultDataChangedExtractor.cs → ...Extractors/DefaultDataChangedExtractor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...Audit/Extractors/IDataChangedExtractor.cs → ...ommon/Extractors/IDataChangedExtractor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...tTrail.Common/Services/DefaultEventBus.cs → EfAudit/Common/Services/DefaultEventBus.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
| ||
|
||
|
||
namespace AuditTrail.Common.Services | ||
{ | ||
public class DefaultEventBus : IEventBus | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,17 +4,25 @@ | |
<TargetFramework>net7.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<PackageId>EfAudit</PackageId> | ||
<PackageVersion>1.0.1</PackageVersion> | ||
<Authors>[email protected]</Authors> | ||
<Company>saturn technologies</Company> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Include="README.md" Pack="true" PackagePath=""/> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.5" /> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="7.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\AuditTrail.Common\AuditTrail.Common.csproj" /> | ||
<PackageReference Include="Microsoft.Extensions.Identity.Core" Version="7.0.5" /> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# AuditTrail | ||
Multiple `AuditTrail` solutions to be used in `C#` |
2 changes: 1 addition & 1 deletion
2
...rk/EfAudit/ServiceCollectionExtensions.cs → EfAudit/ServiceCollectionExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.