Skip to content

V1 implementation #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 354 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
354 commits
Select commit Hold shift + click to select a range
30eadac
Revert "refacroteed benchmarks"
Jan 29, 2025
29c7a75
what
Jan 29, 2025
0e224cb
fixc
Jan 29, 2025
0b72efb
fix
Jan 29, 2025
e2ac4d6
what happening
Jan 29, 2025
1d260fd
uugghh
Jan 29, 2025
2bcfdd6
fix fix fix
Jan 29, 2025
17c7ee4
sdger
Jan 29, 2025
ea45494
title update
Jan 29, 2025
1bfcdff
okay try it
Jan 29, 2025
5e56159
fix
Jan 29, 2025
93d0d65
added runtimes
Jan 29, 2025
7f250b9
updated benchmark dotnet command
Jan 30, 2025
8254939
added filter to becnhmark cmd
Jan 30, 2025
3ee9696
added more .NET framewroks to becnhmarks
Jan 30, 2025
ad804b2
merged install .net sdk version to one
Jan 30, 2025
c5cbfb6
added nema to download artifact step
Jan 30, 2025
8c105cb
downgraded setup-dotnet step to v3
Jan 30, 2025
5e5d3ce
v2
Jan 30, 2025
d0edbaf
removed unused step
Jan 30, 2025
e2afacc
extracted benchmark job to separate file
Jan 30, 2025
bc4b183
reanmed workflow title
Jan 30, 2025
df0ac67
added [MarkdownExporter]
Jan 30, 2025
f776ed3
updated README.md
Jan 30, 2025
b8344f4
filter takes all benchmarks
Jan 30, 2025
35869c2
updated benchmark runs settings
Jan 30, 2025
bacad8a
added benchmark comparison
Jan 31, 2025
ce41329
updated benchmarks
Jan 31, 2025
23da85e
added code coverage arguments for test cmd
Feb 1, 2025
8accc5f
test code coverage
Feb 1, 2025
e7e9473
updated
Feb 1, 2025
1cc0567
moved coverlet settings to root, updated test cmd
Feb 1, 2025
1726c65
escaped double quotes
Feb 1, 2025
33bf3d3
updated coverlet.settings
Feb 1, 2025
ec0fef4
fix
Feb 1, 2025
21634cc
added Microsoft.CodeCoverage package
Feb 1, 2025
2c5de2e
trial and fail
Feb 1, 2025
402f140
project switched to MSTest.Sdk
Feb 1, 2025
2db6ae7
fix
Feb 1, 2025
c1692fb
added package references
Feb 1, 2025
11bbabb
fix
Feb 1, 2025
f12c97b
simplified nuget references
Feb 1, 2025
a15da2b
test
Feb 1, 2025
1771e29
fix
Feb 1, 2025
42c94d2
fix
Feb 1, 2025
d04e356
fix
Feb 1, 2025
9ea52ab
fix
Feb 1, 2025
5d0be30
fix
Feb 1, 2025
0999e7e
test
Feb 1, 2025
78e32e2
fix
Feb 1, 2025
eb72b63
test
Feb 1, 2025
cca5d76
coverage arg
Feb 1, 2025
e846892
fix
Feb 1, 2025
63c141f
temp commit
Feb 1, 2025
9136940
wooohhoooo
Feb 1, 2025
eece0f0
woohooo2
Feb 1, 2025
bb5be58
wohhoo3
Feb 1, 2025
8451871
wooohooo454
Feb 1, 2025
b1dfe6b
woohooo6
Feb 1, 2025
6c98e9a
added interface for enc and dec types
Feb 1, 2025
c170ace
lets try it
Feb 1, 2025
9f04b48
test
Feb 1, 2025
6e7d4a2
added SHA
Feb 1, 2025
dcac09b
aha
Feb 1, 2025
f66d75b
wooohoo
Feb 1, 2025
576d435
whoops
Feb 1, 2025
ddd106a
saaf
Feb 1, 2025
56cacbf
zsfasf
Feb 1, 2025
67d4698
whoaa
Feb 1, 2025
d70bffa
szdfa
Feb 1, 2025
cae477a
safaes
Feb 1, 2025
532ead2
xvsd
Feb 1, 2025
bd50534
uups
Feb 1, 2025
ff683f9
oasdhw
Feb 1, 2025
7119f15
jlkashdqa
Feb 1, 2025
e5f2e1a
,jnl
Feb 1, 2025
341afe4
zdfsd
Feb 1, 2025
c722381
asafd
Feb 1, 2025
7d33da8
fzdsdf
Feb 1, 2025
e991fb0
xzfa
Feb 1, 2025
e15afd0
`lsjdlsi
Feb 1, 2025
a5cf325
fixed typo
Feb 1, 2025
517bbfe
fixed platform arg
Feb 1, 2025
0403221
fix platform arg
Feb 1, 2025
50c0361
fixed path
Feb 1, 2025
a83b9df
removed ls -R
Feb 1, 2025
3076bd5
testing repository variables
Feb 2, 2025
f067e28
skzjhds
Feb 2, 2025
acef797
updated
Feb 2, 2025
7053019
fix
Feb 2, 2025
6320d9d
added concurrency
Feb 2, 2025
b687e15
whhhaaaat
Feb 2, 2025
3507d0f
fix
Feb 2, 2025
4f00a8f
fux
Feb 2, 2025
2c6399b
fix
Feb 2, 2025
d75b6a9
fix
Feb 2, 2025
597ba04
test
Feb 2, 2025
6c62c0b
fix
Feb 2, 2025
5c433eb
fix
Feb 2, 2025
9037738
slfajwdl
Feb 2, 2025
cde619a
dsafsd
Feb 2, 2025
42c802f
gitversion test
Feb 2, 2025
cef9550
test
Feb 2, 2025
f8aa136
test
Feb 2, 2025
2036e9d
test
Feb 2, 2025
03832ba
test
Feb 2, 2025
3df61af
asd
Feb 2, 2025
7c76dce
kshfda
Feb 2, 2025
98aee68
test
Feb 2, 2025
c443329
dfes
Feb 2, 2025
c910383
lsdhSQ
Feb 2, 2025
a189a36
lashfda
Feb 2, 2025
f14d970
kjiu
Feb 2, 2025
c707dde
sadqw
Feb 2, 2025
3a14e2e
sada
Feb 2, 2025
070cc7d
gfgsd
Feb 2, 2025
288531e
dsfgsfrw
Feb 2, 2025
329af43
sdffwe
Feb 2, 2025
2095945
fdgdfe
Feb 2, 2025
ca3b4ad
cxczfsd
Feb 2, 2025
282de19
jyfjyf
Feb 2, 2025
364c252
xzcds
Feb 2, 2025
d798848
dfsfgrs
Feb 2, 2025
d3d777e
xcsfvd
Feb 2, 2025
9aba977
fxgsf
Feb 2, 2025
b87e721
xsgdfgfw
Feb 2, 2025
50b23cc
dfsgdfer
Feb 2, 2025
f290114
zxcz
Feb 2, 2025
8752ca0
Revert "zxcz"
Feb 2, 2025
eefa128
xzcd
Feb 2, 2025
4152a4a
zdfsvd
Feb 2, 2025
e8576f1
xzcvxfsd
Feb 2, 2025
7ef696f
kzhfsd
Feb 2, 2025
26e7583
kjhh
Feb 2, 2025
5968095
hiu
Feb 2, 2025
f5b8b8b
kgk
Feb 2, 2025
1b8203e
zxfsd
Feb 2, 2025
eb2b186
kjhkjh
Feb 2, 2025
9049ab0
skzjhadsk
Feb 2, 2025
c308ee9
jhgj
Feb 2, 2025
4e0312f
kjhkgi
Feb 2, 2025
78806de
kzgsfdias
Feb 2, 2025
2029fe3
jkhkh
Feb 2, 2025
2b7ed6c
lhjl
Feb 2, 2025
10b94cf
askjhadj
Feb 3, 2025
db7fa56
jklhsd
Feb 3, 2025
7a60b67
kjhkj
Feb 3, 2025
b480e13
khasdiqw
Feb 3, 2025
13c00cb
jkhkuh
Feb 3, 2025
b47d191
zsfdsf
Feb 3, 2025
c1de599
dshfdwe
Feb 3, 2025
5adb2f9
zdfsdrws
Feb 3, 2025
db37def
jyuy
Feb 3, 2025
61c1f8d
asfad
Feb 3, 2025
687b535
kgiu
Feb 3, 2025
a8f3fca
yuy
Feb 3, 2025
197ac47
dfsd
Feb 3, 2025
e22c708
xfsdvsw
Feb 3, 2025
4761b06
`zsac
Feb 3, 2025
f990846
kgj
Feb 3, 2025
59d2a8c
kghiu
Feb 3, 2025
7d73c23
ljh
Feb 3, 2025
b3fbf91
huikhi
Feb 3, 2025
8e0867c
kljlk
Feb 3, 2025
022b136
uhiuhu
Feb 3, 2025
ecbe7a3
dfsdv
Feb 3, 2025
559b73a
dvsfv
Feb 3, 2025
c886708
kshdak
Feb 3, 2025
65c3ade
hjgjy
Feb 3, 2025
30ff8f9
uh
Feb 3, 2025
07b6eb7
lioi
Feb 3, 2025
ea32721
yguy
Feb 3, 2025
2697404
dsfs
Feb 3, 2025
176b9c4
kgjh
Feb 3, 2025
e1a1442
kug
Feb 3, 2025
e69c87c
jguyjg
Feb 3, 2025
4fe2050
kguyj
Feb 3, 2025
f1f2b2e
uyuy
Feb 3, 2025
c15a4aa
skzhaksf
Feb 3, 2025
da4d495
jguguy
Feb 3, 2025
196b267
xzvzdv
Feb 3, 2025
8e662d4
kg
Feb 3, 2025
1139817
iuyiu
Feb 3, 2025
69ab1ff
kjhih
Feb 3, 2025
c116e1e
ljhsdas
Feb 3, 2025
20686e9
kgg
Feb 3, 2025
b223f24
jgug
Feb 3, 2025
39dfc37
zsfdas
Feb 3, 2025
d407526
kgyjg
Feb 3, 2025
cf120b4
xdgfsgr
Feb 3, 2025
adc6070
hkh
Feb 3, 2025
7379b27
ljsdoias
Feb 3, 2025
51113cb
lk`sjdas
Feb 3, 2025
3e902d3
dsfe
Feb 3, 2025
8b28182
jhgjh
Feb 3, 2025
7946314
kgsdiua
Feb 3, 2025
afb32dd
sfadw
Feb 3, 2025
ae12cd2
jgj
Feb 3, 2025
b91075b
xzcda
Feb 3, 2025
30a185c
Revert "xzcda"
Feb 3, 2025
8db6664
Revert "jgj"
Feb 3, 2025
3928902
Revert "sfadw"
Feb 3, 2025
f9f816e
xzczd
Feb 3, 2025
0090659
ighjh
Feb 3, 2025
1899a5f
xzvds
Feb 3, 2025
7ac7901
zxcsad
Feb 3, 2025
92ef97a
dsfsdv
Feb 3, 2025
83b15e8
xzdzvs
Feb 3, 2025
c0ae29c
strategies
Feb 3, 2025
992677c
cxvxz
Feb 3, 2025
b13e0ce
asfdswr
Feb 3, 2025
f704508
kjgjh
Feb 3, 2025
361b498
asfd
Feb 3, 2025
b5125db
lzhjsd
Feb 3, 2025
4aa0331
cxgsd
Feb 3, 2025
8c1c2e8
soi`jdsia
Feb 3, 2025
e726e46
xzxzc
Feb 3, 2025
c0a49f5
szfsd
Feb 3, 2025
9a892fe
xzvsd
Feb 3, 2025
6a3495b
zxcadvc
Feb 3, 2025
1c6513b
hgjy
Feb 3, 2025
a337ef2
hdiausd
Feb 3, 2025
8586e5b
xvsfds
Feb 3, 2025
5e183bb
kashida
Feb 3, 2025
ad4cb56
xzfad
Feb 3, 2025
2004e45
kgihk
Feb 3, 2025
67176a1
xcvsf
Feb 3, 2025
0753366
kashdas
Feb 3, 2025
a08699d
sdfsd
Feb 3, 2025
da5cf10
dsfs
Feb 3, 2025
e9bc8d9
zxvd
Feb 3, 2025
575687f
zxvdsf
Feb 3, 2025
4c7726f
zxczds
Feb 3, 2025
92904db
xcvdffgvda
Feb 3, 2025
c81f910
zxfsd
Feb 3, 2025
c7ab59b
sfjhadsiufew
Feb 3, 2025
b9cf17d
xzfsd
Feb 3, 2025
5947f23
xzxsd
Feb 3, 2025
5ed49f1
xzzffvds
Feb 3, 2025
814d266
kugiu
Feb 3, 2025
9c12055
jhgjygu
Feb 3, 2025
0112cec
xzfsvdsf
Feb 3, 2025
3ac0bf1
xzfda
Feb 3, 2025
b4d2453
zxfdss
Feb 3, 2025
c136bb2
safsde
Feb 3, 2025
e8ace10
dzfds
Feb 3, 2025
78f7c82
xzfdsd
Feb 3, 2025
74aa266
xgsfr
Feb 3, 2025
d527104
zxvsdv
Feb 3, 2025
ecbb94d
cvxc
Feb 3, 2025
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
104 changes: 104 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
file_header_template = //\n// Copyright (c) Pete Sramek. All rights reserved.\n// Licensed under the MIT License. See LICENSE file in the project root for full license information.\n//
[*.cs]
#### Naming styles ####

# Naming rules

dotnet_naming_rule.private_or_internal_field_should_be_underscore_camel_case.severity = suggestion
dotnet_naming_rule.private_or_internal_field_should_be_underscore_camel_case.symbols = private_or_internal_field
dotnet_naming_rule.private_or_internal_field_should_be_underscore_camel_case.style = underscore_camel_case

# Symbol specifications

dotnet_naming_symbols.private_or_internal_field.applicable_kinds = field
dotnet_naming_symbols.private_or_internal_field.applicable_accessibilities = internal, private, private_protected
dotnet_naming_symbols.private_or_internal_field.required_modifiers =

# Naming styles

dotnet_naming_style.underscore_camel_case.required_prefix = _
dotnet_naming_style.underscore_camel_case.required_suffix =
dotnet_naming_style.underscore_camel_case.word_separator =
dotnet_naming_style.underscore_camel_case.capitalization = camel_case
csharp_indent_labels = one_less_than_current
csharp_using_directive_placement = inside_namespace:silent
csharp_prefer_simple_using_statement = false:suggestion
csharp_prefer_braces = true:silent
csharp_style_namespace_declarations = file_scoped:silent
csharp_style_prefer_method_group_conversion = false:silent
csharp_style_prefer_top_level_statements = false:silent
csharp_style_prefer_primary_constructors = true:suggestion
csharp_prefer_system_threading_lock = true:suggestion
csharp_style_expression_bodied_methods = false:silent
csharp_style_expression_bodied_constructors = false:silent
csharp_style_expression_bodied_operators = false:silent
csharp_style_expression_bodied_properties = true:silent
csharp_style_expression_bodied_indexers = true:silent
csharp_style_expression_bodied_accessors = true:silent
csharp_style_expression_bodied_lambdas = when_on_single_line:silent
csharp_style_expression_bodied_local_functions = when_on_single_line:silent

[*.{cs,vb}]
#### Naming styles ####

# Naming rules

dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i

dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case

dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case

# Symbol specifications

dotnet_naming_symbols.interface.applicable_kinds = interface
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.interface.required_modifiers =

dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.types.required_modifiers =

dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.non_field_members.required_modifiers =

# Naming styles

dotnet_naming_style.begins_with_i.required_prefix = I
dotnet_naming_style.begins_with_i.required_suffix =
dotnet_naming_style.begins_with_i.word_separator =
dotnet_naming_style.begins_with_i.capitalization = pascal_case

dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case

dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_style_operator_placement_when_wrapping = beginning_of_line
tab_width = 4
indent_size = 4
end_of_line = crlf
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
dotnet_style_prefer_auto_properties = true:silent
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
dotnet_style_prefer_conditional_expression_over_return = true:silent
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_compound_assignment = true:suggestion
65 changes: 65 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Benchmark

on:
push:
branches: [ "main" ]

jobs:
build:
name: Build with .NET 9

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.x
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration Release
- name: Upload
uses: actions/upload-artifact@v4
with:
name: build
path: |
**/bin/*
**/obj/*

benchmark:
name: Benchmark on ${{ matrix.os }}
needs: [build]

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- name: Install .NET SDK
uses: actions/setup-dotnet@v2
with:
dotnet-version: |
2.0.x
2.1.x
2.2.x
3.0.x
3.1.x
5.x
6.x
7.x
8.x
9.x
- name: Download
uses: actions/download-artifact@v4
with:
name: build
path: .
merge-multiple: true
- name: Benchmark
working-directory: ./benchmarks/PolylineAlgorithm.Benchmarks
run: dotnet run -c Release -f net9.0 --filter *
109 changes: 93 additions & 16 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,105 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: .NET

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
branches:
- 'release/**'
workflow_dispatch:

concurrency: ${{ github.ref }}

jobs:
version:
name: Version with GitVersion ${{ vars.GIT_VERSION }}
runs-on: ubuntu-latest
outputs:
ASSEMBLY_VERSION: ${{ steps.gitversion.outputs.assemblySemVer }}.${{ github.run_number }}
ASSEMBLY_INFORMATIONAL_VERSION: ${{ steps.gitversion.outputs.assemblySemVer }}.${{ github.run_number }}+${{ steps.gitversion.outputs.sha }}
FILE_VERSION: ${{ steps.gitversion.outputs.assemblySemVer }}.${{ github.run_number }}
PACKAGE_VERSION: ${{ steps.gitversion.outputs.assemblySemVer }}${{ steps.gitversion.outputs.preReleaseLabelWithDash }}.${{ github.run_number }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install GitVersion ${{ vars.GIT_VERSION }}
uses: gittools/actions/gitversion/setup@v3.1.11
with:
versionSpec: ${{ vars.GIT_VERSION }}
preferLatestVersion: true
- name: Calculate version with GitVersion ${{ vars.GIT_VERSION }}
id: gitversion
uses: gittools/actions/gitversion/execute@v3.1.11
with:
useConfigFile: true
configFilePath: ./.gitversion/version.yml

build:
name: Build with .NET ${{ vars.DOTNET_VERSION }}
needs: [version]
runs-on: ubuntu-latest
env:
ASSEMBLY_VERSION: ${{ needs.version.outputs.ASSEMBLY_VERSION }}
ASSEMBLY_INFORMATIONAL_VERSION: ${{ needs.version.outputs.ASSEMBLY_INFORMATIONAL_VERSION }}
FILE_VERSION: ${{ needs.version.outputs.FILE_VERSION }}
PACKAGE_VERSION: ${{ needs.version.outputs.PACKAGE_VERSION }}
steps:
- uses: actions/checkout@v3
- run: 'echo Assembly Version: ${{ env.ASSEMBLY_VERSION }}'
- run: 'echo File Version: ${{ env.FILE_VERSION }}'
- run: 'echo Assembly Informational Version: ${{ env.ASSEMBLY_INFORMATIONAL_VERSION }}'
- run: 'echo Package Version: ${{ env.PACKAGE_VERSION }}'
- name: Install .NET ${{ vars.DOTNET_VERSION }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ vars.DOTNET_VERSION }}
- name: Build with .NET ${{ vars.DOTNET_VERSION }}
run: dotnet build ./src/**/*.csproj --configuration ${{ vars.BUILD_CONFIGURATION }} /p:Platform=${{ vars.BUILD_PLATFORM }} -p:Version=${{ env.ASSEMBLY_VERSION }} -p:AssemblyInformationalVersion=${{ env.ASSEMBLY_INFORMATIONAL_VERSION }} -p:FileVersion=${{ env.FILE_VERSION }}
- name: Upload Build
uses: actions/upload-artifact@v4
with:
name: build
path: |
**/bin/*
**/obj/*

test:
name: Test with .NET ${{ vars.DOTNET_VERSION }}
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET ${{ vars.DOTNET_VERSION }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ vars.DOTNET_VERSION }}
- name: Test with .NET ${{ vars.DOTNET_VERSION }}
run: dotnet test ./tests/**/*Tests.csproj --configuration ${{ vars.BUILD_CONFIGURATION }} /p:Platform=${{ vars.BUILD_PLATFORM }} --verbosity normal --settings unit-test.runsettings --logger trx --collect:"Code Coverage" --results-directory test-results
- name: Upload Test Results
uses: actions/upload-artifact@v4
with:
name: test-results
path: |
**/test-results/*

pack:
name: Pack with .NET ${{ vars.DOTNET_VERSION }}
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Install .NET ${{ vars.DOTNET_VERSION }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ vars.DOTNET_VERSION }}
- name: Download Build
uses: actions/download-artifact@v4
with:
name: build
- name: Pack with .NET ${{ vars.DOTNET_VERSION }}
run: dotnet pack ./src/**/*.csproj --no-build --no-restore --configuration ${{ vars.BUILD_CONFIGURATION }} /p:Platform=${{ vars.BUILD_PLATFORM }}
- name: Upload Package
uses: actions/upload-artifact@v4
with:
name: package
path: |
**/*.nupkg
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Dotnet Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x
dotnet-version: 9.0.x

- run: dotnet tool update -g docfx
- run: docfx ./docs/docfx.json
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -258,4 +258,7 @@ paket-files/

# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
*.pyc

# BenchmarkDotNet artifacts
**/BenchmarkDotNet.Artifacts/
Loading
Loading