chore: sync aux files with other repos

This commit is contained in:
Louis Seubert 2024-05-10 21:48:52 +02:00
parent bd51e1cbbf
commit 9fb5ab2d38
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
3 changed files with 19 additions and 23 deletions

View file

@ -25,7 +25,7 @@ indent_style = space
# Organize usings # Organize usings
dotnet_separate_import_directive_groups = true dotnet_separate_import_directive_groups = true
dotnet_sort_system_directives_first = true dotnet_sort_system_directives_first = true
file_header_template = unset file_header_template = Copyright (c) The Geekeey Authors\nSPDX-License-Identifier: EUPL-1.2
# this. and Me. preferences # this. and Me. preferences
dotnet_style_qualification_for_event = false:silent dotnet_style_qualification_for_event = false:silent
@ -62,7 +62,7 @@ dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
dotnet_style_prefer_simplified_interpolation = true:suggestion dotnet_style_prefer_simplified_interpolation = true:suggestion
dotnet_style_namespace_match_folder = false # resharper dotnet_style_namespace_match_folder = false # resharper: resharper_check_namespace_highlighting
# Field preferences # Field preferences
dotnet_style_readonly_field = true:warning dotnet_style_readonly_field = true:warning
@ -222,15 +222,6 @@ dotnet_naming_symbols.methods.applicable_accessibilities = public, internal, pri
dotnet_naming_symbols.methods.required_modifiers = dotnet_naming_symbols.methods.required_modifiers =
dotnet_naming_rule.async_methods_end_in_async.severity = suggestion
dotnet_naming_rule.async_methods_end_in_async.symbols = any_async_methods
dotnet_naming_rule.async_methods_end_in_async.style = end_in_async
dotnet_naming_symbols.any_async_methods.applicable_kinds = method
dotnet_naming_symbols.any_async_methods.applicable_accessibilities = *
dotnet_naming_symbols.any_async_methods.required_modifiers = async
dotnet_naming_rule.parameters_should_be_camelcase.severity = suggestion dotnet_naming_rule.parameters_should_be_camelcase.severity = suggestion
dotnet_naming_rule.parameters_should_be_camelcase.symbols = parameters dotnet_naming_rule.parameters_should_be_camelcase.symbols = parameters
dotnet_naming_rule.parameters_should_be_camelcase.style = camelcase dotnet_naming_rule.parameters_should_be_camelcase.style = camelcase
@ -393,11 +384,6 @@ dotnet_naming_style.s_camelcase.required_suffix =
dotnet_naming_style.s_camelcase.word_separator = dotnet_naming_style.s_camelcase.word_separator =
dotnet_naming_style.s_camelcase.capitalization = camel_case dotnet_naming_style.s_camelcase.capitalization = camel_case
dotnet_naming_style.end_in_async.required_prefix =
dotnet_naming_style.end_in_async.required_suffix = Async
dotnet_naming_style.end_in_async.capitalization = pascal_case
dotnet_naming_style.end_in_async.word_separator =
[*.{cs.vb}] [*.{cs.vb}]
dotnet_diagnostic.IDE0055.severity = error dotnet_diagnostic.IDE0055.severity = error
# IDE0051: Remove unused private member # IDE0051: Remove unused private member
@ -425,10 +411,12 @@ dotnet_diagnostic.CA1820.severity = warning
# CA1821: Remove empty finalizers # CA1821: Remove empty finalizers
dotnet_diagnostic.CA1821.severity = warning dotnet_diagnostic.CA1821.severity = warning
# CA1822: Mark members as static # CA1822: Mark members as static
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822
dotnet_diagnostic.CA1822.severity = suggestion dotnet_diagnostic.CA1822.severity = suggestion
dotnet_code_quality.CA1822.api_surface = private, internal
# CA1823: Avoid unused private fields # CA1823: Avoid unused private fields
dotnet_diagnostic.CA1823.severity = warning dotnet_diagnostic.CA1823.severity = warning
dotnet_code_quality.CA1822.api_surface = private, internal
# CA1825: Avoid zero-length array allocations # CA1825: Avoid zero-length array allocations
dotnet_diagnostic.CA1825.severity = warning dotnet_diagnostic.CA1825.severity = warning
# CA1826: Use property instead of Linq Enumerable method # CA1826: Use property instead of Linq Enumerable method

View file

@ -1,22 +1,23 @@
name: default name: default
on: on:
push: push:
branches: ["main", "develop"] branches: [ "main", "develop" ]
paths-ignore: paths-ignore:
- "doc/**" - "doc/**"
- "*.md" - "*.md"
pull_request: pull_request:
branches: ["main", "develop"] branches: [ "main", "develop" ]
paths-ignore: paths-ignore:
- "doc/**" - "doc/**"
- "*.md" - "*.md"
jobs: jobs:
default: default:
name: dotnet default workflow
runs-on: debian-latest runs-on: debian-latest
strategy: strategy:
matrix: matrix:
dotnet-version: ["8.0"] dotnet-version: [ "8.0" ]
container: mcr.microsoft.com/dotnet/sdk:${{ matrix.dotnet-version }} container: mcr.microsoft.com/dotnet/sdk:${{ matrix.dotnet-version }}
steps: steps:
- name: checkout - name: checkout

View file

@ -1,14 +1,15 @@
name: release name: release
on: on:
push: push:
tags: ["[0-9]+.[0-9]+.[0-9]+"] tags: [ "[0-9]+.[0-9]+.[0-9]+" ]
jobs: jobs:
release: release:
name: dotnet release workflow
runs-on: debian-latest runs-on: debian-latest
strategy: strategy:
matrix: matrix:
dotnet-version: ["8.0"] dotnet-version: [ "8.0" ]
container: mcr.microsoft.com/dotnet/sdk:${{ matrix.dotnet-version }} container: mcr.microsoft.com/dotnet/sdk:${{ matrix.dotnet-version }}
steps: steps:
- uses: https://git.geekeey.de/actions/checkout@1 - uses: https://git.geekeey.de/actions/checkout@1
@ -21,4 +22,10 @@ jobs:
- name: dotnet pack - name: dotnet pack
run: | run: |
dotnet pack -p:ContinuousIntegrationBuild=true dotnet pack -p:ContinuousIntegrationBuild=true
- name: dotnet nuget push
run: |
# The token used here is only intended to publish packages
dotnet nuget push -k "${{ secrets.geekeey_package_registry }}" \
artifacts/package/release/Geekeey.Extensions.Process.*.nupkg