-
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.
* Upgrade the NuGet packages for the unit tests to the last version. * Remove the shortcut of .editorconfig in Directory.Build.props. * Migrates the Azure Pipelines to GitHub actions (#17). * Add new overrides BeJsonDeserializableInto() to test the string collections, string and numeric values (#16).
- Loading branch information
1 parent
a66f8b2
commit 1c07aaf
Showing
10 changed files
with
264 additions
and
96 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,24 @@ | ||
name: Continuous Integration | ||
|
||
on: | ||
pull_request: | ||
branches: [ "main" ] | ||
push: | ||
branches: [ "releases/**" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup .NET 8.x | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: '8.x' | ||
|
||
- name: Build | ||
run: dotnet build --property:Configuration=Debug "PosInformatique.FluentAssertions.Json.sln" | ||
|
||
- name: Test with the dotnet CLI | ||
run: dotnet test --property:Configuration=Debug "PosInformatique.FluentAssertions.Json.sln" |
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,36 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
VersionPrefix: | ||
type: string | ||
description: The version of the library | ||
required: true | ||
default: 1.3.0 | ||
VersionSuffix: | ||
type: string | ||
description: The version suffix of the library (for example rc.1) | ||
|
||
run-name: ${{ inputs.VersionPrefix }}-${{ inputs.VersionSuffix }} | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup .NET 8.x | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: '8.x' | ||
|
||
- name: Build | ||
run: dotnet pack | ||
--property:Configuration=Release | ||
--property:VersionPrefix=${{ github.event.inputs.VersionPrefix }} | ||
--property:VersionSuffix=${{ github.event.inputs.VersionSuffix }} | ||
"src/FluentAssertions.Json/FluentAssertions.Json.csproj" | ||
|
||
- name: Publish the package to nuget.org | ||
run: dotnet nuget push "src/FluentAssertions.Json/bin/Release/*.nupkg" --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json |
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 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
10 changes: 5 additions & 5 deletions
10
tests/FluentAssertions.Json.Tests/FluentAssertions.Json.Tests.csproj
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
Oops, something went wrong.