Skip to content

Commit 03dc58d

Browse files
jaybarden1jbarden
andauthored
Complete offline rewrite (#25)
* Exclude the sample projects from coverage * Bring in the offline rewrite, readmes and even draft blog post * Update the dotnet.yml to resolve the current lack of code coverage in SonarCloud/Qube * Fix some of the SonarQube issues and update publish.yml --------- Co-authored-by: Jason Barden <[email protected]>
1 parent 7db3895 commit 03dc58d

File tree

127 files changed

+5911
-69442
lines changed

Some content is hidden

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

127 files changed

+5911
-69442
lines changed

.github/workflows/dotnet.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- main
77
pull_request:
88
types: [ opened, synchronize, reopened ]
9+
env:
10+
SONAR_PROJECT: astar-dev-functional-extensions
911

1012
jobs:
1113
build:
@@ -51,7 +53,7 @@ jobs:
5153
shell: powershell
5254
run: |
5355
dotnet tool install --global dotnet-coverage
54-
.\.sonar\scanner\dotnet-sonarscanner begin /k:"astar-development_astar-dev-functional-extensions" /o:"astar-development" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.scanner.scanAll=false
55-
dotnet build
56+
.\.sonar\scanner\dotnet-sonarscanner begin /k:"astar-development_${{ env.SONAR_PROJECT }}" /o:"astar-development" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml /d:sonar.scanner.scanAll=false /d:sonar.scanner.skipJreProvisioning=true
57+
dotnet build --configuration Release
5658
dotnet-coverage collect 'dotnet test --filter "FullyQualifiedName!~Tests.EndToEnd"' -f xml -o 'coverage.xml'
5759
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"

.github/workflows/publish.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: 🚀 Publish NuGet Package
22

33
on:
44
workflow_dispatch:
5-
# push:
6-
# branches:
7-
# - main
85

96
jobs:
107
build:
@@ -27,12 +24,9 @@ jobs:
2724
- name: 🛠 Build solution
2825
run: dotnet build --configuration Release
2926

30-
# - name: 🧪 Run tests
31-
# run: dotnet test --configuration Release --no-build
32-
3327
- name: 📦 Pack NuGet package
3428
run: dotnet pack ./src/${{ env.ProjectName }}/${{ env.ProjectName }}.csproj --configuration Release --output ./nupkg
3529

3630
- name: 🚀 Publish to NuGet.org
37-
run: dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --source https://apiint.nugettest.org/v3/index.json --api-key ${{ secrets.NuGet_Test_API_Key }} # https://api.nuget.org/v3/index.json
31+
run: dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NuGet_Test_API_Key }} #
3832

.idea/.idea.AStar.Dev.Functional.Extensions/.idea/inspectionProfiles/Project_Default.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AStar.Dev.Functional.Extensions.sln

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{
1212
.github\workflows\dotnet.yml = .github\workflows\dotnet.yml
1313
EndProjectSection
1414
EndProject
15-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AStar.Dev.ConsoleSample", "samples\AStar.Dev.ConsoleSample\AStar.Dev.ConsoleSample.csproj", "{16513013-C9A4-4707-9D79-87A2F5BBCF5C}"
16-
EndProject
17-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AStar.Dev.SampleApi", "samples\AStar.Dev.SampleApi\AStar.Dev.SampleApi.csproj", "{2C6E2B2F-2312-499D-A885-405FB25CFD85}"
18-
EndProject
19-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AStar.Dev.SampleBlazor", "samples\AStar.Dev.SampleBlazor\AStar.Dev.SampleBlazor.csproj", "{B4A9B8A7-7548-4C0E-AA7E-36299B21240F}"
20-
EndProject
21-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{E8A4624A-D322-4CF1-A3FB-EC7E013CEC89}"
22-
EndProject
2315
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{D1A87C44-FB04-49D8-8C34-C6CD33944612}"
2416
EndProject
2517
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{0A5D570A-ACDC-429C-A9EA-9E8D9DA7774C}"
@@ -38,24 +30,9 @@ Global
3830
{CD5D55C2-C6D1-4E28-93FD-1A60118403CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
3931
{CD5D55C2-C6D1-4E28-93FD-1A60118403CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
4032
{CD5D55C2-C6D1-4E28-93FD-1A60118403CE}.Release|Any CPU.Build.0 = Release|Any CPU
41-
{16513013-C9A4-4707-9D79-87A2F5BBCF5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42-
{16513013-C9A4-4707-9D79-87A2F5BBCF5C}.Debug|Any CPU.Build.0 = Debug|Any CPU
43-
{16513013-C9A4-4707-9D79-87A2F5BBCF5C}.Release|Any CPU.ActiveCfg = Release|Any CPU
44-
{16513013-C9A4-4707-9D79-87A2F5BBCF5C}.Release|Any CPU.Build.0 = Release|Any CPU
45-
{2C6E2B2F-2312-499D-A885-405FB25CFD85}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46-
{2C6E2B2F-2312-499D-A885-405FB25CFD85}.Debug|Any CPU.Build.0 = Debug|Any CPU
47-
{2C6E2B2F-2312-499D-A885-405FB25CFD85}.Release|Any CPU.ActiveCfg = Release|Any CPU
48-
{2C6E2B2F-2312-499D-A885-405FB25CFD85}.Release|Any CPU.Build.0 = Release|Any CPU
49-
{B4A9B8A7-7548-4C0E-AA7E-36299B21240F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50-
{B4A9B8A7-7548-4C0E-AA7E-36299B21240F}.Debug|Any CPU.Build.0 = Debug|Any CPU
51-
{B4A9B8A7-7548-4C0E-AA7E-36299B21240F}.Release|Any CPU.ActiveCfg = Release|Any CPU
52-
{B4A9B8A7-7548-4C0E-AA7E-36299B21240F}.Release|Any CPU.Build.0 = Release|Any CPU
5333
EndGlobalSection
5434
GlobalSection(NestedProjects) = preSolution
5535
{2C3EC910-77D3-475C-A9EE-E8F9F9C8C43C} = {267BE110-D583-4557-80D5-0D9E80A05542}
56-
{16513013-C9A4-4707-9D79-87A2F5BBCF5C} = {E8A4624A-D322-4CF1-A3FB-EC7E013CEC89}
57-
{2C6E2B2F-2312-499D-A885-405FB25CFD85} = {E8A4624A-D322-4CF1-A3FB-EC7E013CEC89}
58-
{B4A9B8A7-7548-4C0E-AA7E-36299B21240F} = {E8A4624A-D322-4CF1-A3FB-EC7E013CEC89}
5936
{46743FC5-9AAD-46A0-BD96-B2EEA6CE9E23} = {D1A87C44-FB04-49D8-8C34-C6CD33944612}
6037
{CD5D55C2-C6D1-4E28-93FD-1A60118403CE} = {0A5D570A-ACDC-429C-A9EA-9E8D9DA7774C}
6138
EndGlobalSection

AStar.ico

-11.3 KB
Binary file not shown.

AStar.png

-12.2 KB
Binary file not shown.

astar-logo-large.png

326 KB
Loading

astar-logo.png

183 KB
Loading

astar.ico

16.6 KB
Binary file not shown.

astar.png

15.6 KB
Loading

0 commit comments

Comments
 (0)