Skip to content

Commit c4d103f

Browse files
Merge pull request #587 from Azure/merge-main-to-preview
Merge main to preview
2 parents 42ec7d1 + 5088fe9 commit c4d103f

File tree

55 files changed

+468
-649
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+468
-649
lines changed

.editorconfig

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# editorconfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
## Default settings ##
7+
[*]
8+
insert_final_newline = true
9+
indent_style = space
10+
indent_size = 4
11+
trim_trailing_whitespace = true
12+
13+
## Formatting rule ##
14+
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055
15+
dotnet_diagnostic.IDE0055.severity = error
16+
17+
# 'Using' directive preferences
18+
dotnet_sort_system_directives_first = false
19+
20+
# New line preferences
21+
dotnet_diagnostic.IDE2002.severity = error
22+
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false
23+
dotnet_diagnostic.IDE2004.severity = error
24+
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = false
25+
dotnet_diagnostic.IDE2005.severity = error
26+
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = false
27+
dotnet_diagnostic.IDE2006.severity = error
28+
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = false
29+
dotnet_diagnostic.IDE2000.severity = error
30+
dotnet_style_allow_multiple_blank_lines_experimental = false
31+
dotnet_diagnostic.IDE2003.severity = error
32+
dotnet_style_allow_statement_immediately_after_block_experimental = false
33+
34+
[*.csproj]
35+
indent_size = 2
36+
charset = utf-8
37+
38+
[*.json]
39+
indent_size = 2

.github/workflows/ci.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: AppConfiguration-DotnetProvider CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- preview
8+
- release/*
9+
pull_request:
10+
branches:
11+
- main
12+
- preview
13+
- release/*
14+
15+
permissions:
16+
security-events: write
17+
18+
jobs:
19+
build:
20+
runs-on: windows-latest
21+
22+
steps:
23+
- name: Checkout code
24+
uses: actions/checkout@v2
25+
26+
- name: Install .NET
27+
run: pwsh build/install-dotnet.ps1 -RestoreOnly
28+
29+
- name: Restore
30+
run: pwsh build.ps1 -RestoreOnly
31+
32+
- name: Initialize CodeQL
33+
uses: github/codeql-action/init@v3
34+
with:
35+
languages: 'csharp'
36+
37+
- name: Dotnet Build
38+
run: pwsh build.ps1
39+
40+
- name: Dotnet Pack
41+
run: pwsh pack.ps1
42+
43+
- name: Dotnet Test
44+
run: pwsh test.ps1
45+
46+
- name: Publish Test Results
47+
uses: actions/upload-artifact@v4
48+
with:
49+
name: Unit Test Results
50+
path: ${{ github.workspace }}/tests/**/*.trx
51+
52+
- name: Perform CodeQL Analysis
53+
uses: github/codeql-action/analyze@v3

.pipelines/OneBranch.Official.yml

Lines changed: 0 additions & 175 deletions
This file was deleted.

.pipelines/windows-buddy.yml

Lines changed: 0 additions & 125 deletions
This file was deleted.

0 commit comments

Comments
 (0)