File tree Expand file tree Collapse file tree 5 files changed +121
-205
lines changed Expand file tree Collapse file tree 5 files changed +121
-205
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : CD
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ concurrency :
7
+ group : ${{ github.workflow }}-${{ github.ref }}
8
+ cancel-in-progress : false
9
+
10
+ jobs :
11
+ create_tag :
12
+ name : GitHub
13
+ uses : flobernd/workflows/.github/workflows/nbgv_create_tag.yml@v1
14
+
15
+ find_solution :
16
+ name : Prepare
17
+ uses : flobernd/workflows/.github/workflows/find_solution.yml@v1
18
+
19
+ build_nuget :
20
+ name : Packages
21
+ uses : flobernd/workflows/.github/workflows/dotnet_pack.yml@v1
22
+ needs : find_solution
23
+ with :
24
+ solution : ${{ needs.find_solution.outputs.solution }}
25
+ project_filter : |
26
+ **/*.csproj
27
+ !**/*.Examples.csproj
28
+ !**/*.Tests.csproj
29
+ use_nuget_cache : true
30
+ nuget_cache_key : ' **/packages.lock.json'
31
+ artifact : nupkg
32
+
33
+ publish_github :
34
+ name : Publish to GitHub
35
+ uses : flobernd/workflows/.github/workflows/dotnet_nuget_push.yml@v1
36
+ needs : build_nuget
37
+ with :
38
+ nuget_source : https://nuget.pkg.github.com/flobernd/index.json
39
+ nupkg_artifact : nupkg
40
+ secrets :
41
+ NUGET_API_KEY : ${{ secrets.GITHUB_TOKEN }}
42
+
43
+ publish_nuget :
44
+ name : Publish to NuGet
45
+ uses : flobernd/workflows/.github/workflows/dotnet_nuget_push.yml@v1
46
+ needs : build_nuget
47
+ with :
48
+ nuget_source : https://api.nuget.org/v3/index.json
49
+ nupkg_artifact : nupkg
50
+ secrets :
51
+ NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ types : [opened, synchronize, reopened]
9
+
10
+ concurrency :
11
+ group : ${{ github.workflow }}-${{ github.ref }}
12
+ cancel-in-progress : true
13
+
14
+ jobs :
15
+ find_solution :
16
+ name : Prepare
17
+ uses : flobernd/workflows/.github/workflows/find_solution.yml@v1
18
+
19
+ run_tests :
20
+ name : Tests
21
+ uses : flobernd/workflows/.github/workflows/dotnet_test.yml@v1
22
+ needs : find_solution
23
+ with :
24
+ runs_on : |
25
+ ubuntu-latest
26
+ dotnet_version : |
27
+ 6.0.x
28
+ 3.1.x
29
+ solution : ${{ needs.find_solution.outputs.solution }}
30
+ project_filter : |
31
+ **/*.Tests.csproj
32
+ !Dependencies/**
33
+ maxdop : 0
34
+ use_nuget_cache : true
35
+ nuget_cache_key : ' **/packages.lock.json'
36
+ archive : always
37
+ artifact : test-results
38
+
39
+ sonarcloud :
40
+ name : SonarCloud
41
+ uses : flobernd/workflows/.github/workflows/sonarcloud_dotnet.yml@v1
42
+ needs : [find_solution, run_tests]
43
+ with :
44
+ sonar_organization : flobernd
45
+ sonar_project_key : flobernd_zysharp-metaprogramming
46
+ solution : ${{ needs.find_solution.outputs.solution }}
47
+ project_filter : |
48
+ **/*.csproj
49
+ !Dependencies/**
50
+ use_nuget_cache : true
51
+ nuget_cache_key : ' **/packages.lock.json'
52
+ test_results_artifact : test-results
53
+ secrets :
54
+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
55
+
56
+ build_nuget :
57
+ name : Packages
58
+ uses : flobernd/workflows/.github/workflows/dotnet_pack.yml@v1
59
+ needs : [find_solution, sonarcloud]
60
+ with :
61
+ solution : ${{ needs.find_solution.outputs.solution }}
62
+ project_filter : |
63
+ **/*.csproj
64
+ !Dependencies/**
65
+ !**/*.Examples.csproj
66
+ !**/*.Tests.csproj
67
+ use_nuget_cache : true
68
+ nuget_cache_key : ' **/packages.lock.json'
69
+ artifact : nupkg
Original file line number Diff line number Diff line change 1
1
# ZySharp Metaprogramming
2
2
3
3
![ License: MIT] ( https://img.shields.io/badge/License-MIT-blue.svg )
4
- [ ![ Build] ( https://github.com/flobernd/zysharp-metaprogramming/actions/workflows/build .yml/badge.svg )] ( https://github.com/flobernd/zysharp-metaprogramming/actions )
4
+ [ ![ Build] ( https://github.com/flobernd/zysharp-metaprogramming/actions/workflows/ci .yml/badge.svg )] ( https://github.com/flobernd/zysharp-metaprogramming/actions/workflows/ci.yml )
5
5
[ ![ Quality Gate Status] ( https://sonarcloud.io/api/project_badges/measure?project=flobernd_zysharp-metaprogramming&metric=alert_status )] ( https://sonarcloud.io/summary/new_code?id=flobernd_zysharp-metaprogramming )
6
6
[ ![ Coverage] ( https://sonarcloud.io/api/project_badges/measure?project=flobernd_zysharp-metaprogramming&metric=coverage )] ( https://sonarcloud.io/summary/new_code?id=flobernd_zysharp-metaprogramming )
7
7
[ ![ NuGet] ( https://img.shields.io/nuget/v/ZySharp.Metaprogramming.svg )] ( https://nuget.org/packages/ZySharp.Metaprogramming )
You can’t perform that action at this time.
0 commit comments