-
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.
Add optional state parameters to AsyncHelper (PHNX-12680) (#4)
Motivation ---------- In some scenarios this can reduce heap allocations of closures. Modifications ------------- Add the optional state parameter and matching unit tests. Drop .NET 5 target since it is EOL and target .NET 6. https://centeredge.atlassian.net/browse/PHNX-12680
- Loading branch information
1 parent
6f692d4
commit fb29bb3
Showing
7 changed files
with
851 additions
and
73 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 |
---|---|---|
|
@@ -12,29 +12,29 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 6.0.x | ||
|
||
- name: Install GitVersion | ||
uses: gittools/actions/gitversion/[email protected].10 | ||
uses: gittools/actions/gitversion/[email protected].15 | ||
with: | ||
versionSpec: "5.8.0" | ||
|
||
- name: Determine Version | ||
id: gitversion | ||
uses: gittools/actions/gitversion/[email protected].10 | ||
uses: gittools/actions/gitversion/[email protected].15 | ||
with: | ||
useConfigFile: true | ||
configFilePath: "GitVersion.yml" | ||
|
||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 6.0.x | ||
|
||
# Cache packages for faster subsequent runs | ||
- uses: actions/cache@v2 | ||
- uses: actions/cache@v3 | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} | ||
|
@@ -44,7 +44,7 @@ jobs: | |
- name: Restore | ||
working-directory: ./src | ||
run: >- | ||
dotnet nuget add source --username USERNAME --password ${{ secrets.GH_PACKAGES_TOKEN }} --store-password-in-clear-text --name github https://nuget.pkg.github.com/CenterEdge/index.json | ||
dotnet nuget add source --name github https://nuget.pkg.github.com/CenterEdge/index.json | ||
&& dotnet restore ./CenterEdge.Async.sln | ||
- name: Build | ||
|
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
Oops, something went wrong.