-
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.
Merge branch 'first-version' of https://github.com/codibre/dotnet-enu…
…merable into first-version
- Loading branch information
Showing
21 changed files
with
193 additions
and
85 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
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 |
---|---|---|
|
@@ -19,7 +19,12 @@ jobs: | |
- uses: actions/checkout@v4 | ||
# Install the .NET SDK indicated in the global.json file | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: | | ||
7.x.x | ||
8.x.x | ||
9.x.x | ||
- name: Prepare Node | ||
uses: actions/setup-node@v4 | ||
|
@@ -31,14 +36,6 @@ jobs: | |
- name: Build | ||
run: npm run build | ||
|
||
- name: Prepare Db | ||
run: npm run prepare-test-db | ||
|
||
# - name: Docker build | ||
# run: npm run docker:build | ||
# - name: Docker run | ||
# run: npm run docker:run | ||
|
||
- name: Test | ||
uses: paambaati/[email protected] | ||
env: | ||
|
@@ -56,6 +53,3 @@ jobs: | |
CI: true | ||
- run: npx semantic-release --ci | ||
- run: git push | ||
|
||
- name: Unload Db | ||
run: npm run unload-test-db |
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 |
---|---|---|
|
@@ -2,4 +2,5 @@ bin | |
obj | ||
appsettings.json | ||
coverage | ||
node_modules | ||
node_modules | ||
BenchmarkDotNet.Artifacts |
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 |
---|---|---|
@@ -1,28 +1,29 @@ | ||
{ | ||
"name": "dotnet-enumerable", | ||
"version": "0.0.0", | ||
"description": "Grpc Proxy for Sql Server", | ||
"scripts": { | ||
"build": "dotnet build", | ||
"start": "dotnet start", | ||
"prepare": "husky", | ||
"lint:stage:fix": "lint-staged --relative", | ||
"lint:fix": "dotnet format", | ||
"lint": "dotnet format --verify-no-changes", | ||
"restore": "dotnet restore", | ||
"test": "dotnet test", | ||
"test:coverage": "dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=./coverage/lcov.info" | ||
}, | ||
"devDependencies": { | ||
"@types/lint-staged": "^13.3.0", | ||
"husky": "^9.0.11", | ||
"lint-staged": "^15.2.10", | ||
"run-container": "^2.0.12" | ||
}, | ||
"lint-staged": { | ||
"*.cs": "dotnet format --include" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC" | ||
} | ||
{ | ||
"name": "dotnet-enumerable", | ||
"version": "0.0.0", | ||
"description": "Grpc Proxy for Sql Server", | ||
"scripts": { | ||
"build": "dotnet build", | ||
"start": "dotnet start", | ||
"prepare": "husky", | ||
"lint:stage:fix": "lint-staged --relative", | ||
"lint:fix": "dotnet format", | ||
"lint": "dotnet format --verify-no-changes", | ||
"restore": "dotnet restore", | ||
"test": "dotnet test", | ||
"test:coverage": "dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=./coverage/lcov.info", | ||
"benchmark": "dotnet run --project test/Codibre.EnumerableExtensions.Branching.Benchmark/Codibre.EnumerableExtensions.Branching.Benchmark.csproj -c Release" | ||
}, | ||
"devDependencies": { | ||
"@types/lint-staged": "^13.3.0", | ||
"husky": "^9.0.11", | ||
"lint-staged": "^15.2.10", | ||
"run-container": "^2.0.12" | ||
}, | ||
"lint-staged": { | ||
"*.cs": "dotnet format --include" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC" | ||
} |
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 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
2 changes: 1 addition & 1 deletion
2
src/Codibre.EnumerableExtensions.Branching/BranchingExtensions.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,4 +1,4 @@ | ||
using System; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
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: 2 additions & 2 deletions
4
src/Codibre.EnumerableExtensions.Branching/Internal/BranchContext.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,6 +1,6 @@ | ||
namespace Codibre.EnumerableExtensions.Branching.Internal; | ||
namespace Codibre.EnumerableExtensions.Branching.Internal; | ||
|
||
internal class BranchContext() | ||
internal record BranchContext() | ||
{ | ||
public Task? Next { get; set; } | ||
} |
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: 2 additions & 2 deletions
4
src/Codibre.EnumerableExtensions.Branching/Internal/LinkedNode.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,6 +1,6 @@ | ||
namespace Codibre.EnumerableExtensions.Branching.Internal; | ||
namespace Codibre.EnumerableExtensions.Branching.Internal; | ||
|
||
internal record LinkedNode<T>(T Value) | ||
{ | ||
public LinkedNode<T>? Next { get; set; } | ||
} | ||
} |
Oops, something went wrong.