Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit 1f20960

Browse files
committed
Initial commit
0 parents  commit 1f20960

File tree

11 files changed

+1244
-0
lines changed

11 files changed

+1244
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Bug report
3+
about: Create a report about something that is not working
4+
---
5+
6+
### Describe the bug
7+
A clear and concise description of what the bug is.
8+
9+
### To Reproduce
10+
Steps to reproduce the behavior:
11+
1. Using version '...' of component
12+
2. Run this code '....'
13+
3. With these arguments '....'
14+
4. See error
15+
16+
### Expected behavior
17+
A clear and concise description of what you expected to happen.
18+
19+
### Screenshots
20+
If applicable, add screenshots to help explain your problem.
21+
22+
### Additional context
23+
Add any other context about the problem here.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
---
5+
6+
### Is your feature request related to a problem? Please describe.
7+
A clear and concise description of what the problem is.
8+
Example: I am trying to do [...] but [...]
9+
10+
### Describe the solution you'd like
11+
A clear and concise description of what you want to happen. Include any alternative solutions you've considered.
12+
13+
### Additional context
14+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Pull Request Template
2+
3+
## Description
4+
5+
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
6+
7+
New Features
8+
9+
- [Jira number or description]
10+
11+
Fixes
12+
13+
- [Jira number or description]
14+
15+
## Type of change
16+
17+
Please delete options that are not relevant.
18+
19+
- [ ] Bug fix (non-breaking change which fixes an issue)
20+
- [ ] New feature (non-breaking change which adds functionality)
21+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
22+
23+
## Dependent Releases
24+
25+
- Dependent Releases ...
26+
27+
## Required Configuration on CI/CD platform
28+
29+
- Sample Changes
30+
31+
## How Has This Been Tested?
32+
33+
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
34+
35+
- [ ] Test A
36+
- [ ] Test B
37+
38+
## Checklist:
39+
40+
- [ ] My code follows the style guidelines of this project
41+
- [ ] I have performed a self-review of my own code
42+
- [ ] I have made corresponding changes to the documentation
43+
- [ ] I have added tests that prove my fix is effective or that my feature works
44+
- [ ] New and existing unit tests pass locally with my changes
45+
- [ ] Any dependent changes have been merged and published in downstream modules
46+
- [ ] My changes fullfill the acceptance criteria for the story or bug
47+
- [ ] I made/planned the required configuration changes on CI/CD

.github/workflows/ci.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: CI on Branches and PRs
2+
3+
on:
4+
workflow_dispatch:
5+
branches-ignore: [ master ]
6+
paths: "src/**"
7+
8+
push:
9+
branches-ignore: [ master ]
10+
paths: "src/**"
11+
12+
pull_request:
13+
branches: [ master ]
14+
paths: "src/**"
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
- name: Fetch all history for all tags and branches
23+
run: git fetch --prune --unshallow
24+
- name: Install GitVersion
25+
uses: gittools/actions/gitversion/setup@v0.9.7
26+
with:
27+
versionSpec: "5.5.x"
28+
- name: Setup .NET Core
29+
uses: actions/setup-dotnet@v1
30+
with:
31+
dotnet-version: "3.1.x"
32+
- name: Install dependencies
33+
run: dotnet restore src
34+
- name: Use GitVersion
35+
id: gitversion
36+
uses: gittools/actions/gitversion/execute@v0.9.7
37+
- name: Display the version
38+
run: |
39+
echo "Version: ${{ steps.gitversion.outputs.semVer }}"
40+
- name: Build
41+
run: |
42+
dotnet build src --configuration Release --no-restore -p:version=${{ steps.gitversion.outputs.semVer }}
43+
- name: Unit & integration test
44+
run: |
45+
dotnet test src --configuration Release --no-restore -p:version=${{ steps.gitversion.outputs.semVer }}
46+
- name: Collect Artifacts
47+
uses: actions/upload-artifact@v2
48+
with:
49+
name: nuget-packages
50+
path: "**/*.nupkg"
51+
- name: Configure github as Package Repository
52+
run: dotnet nuget add source https://nuget.pkg.github.com/icgam/index.json -n "github"
53+
- name: Publish the package to GitHub Packages
54+
run: dotnet nuget push "**/*.nupkg" -s "github" -k ${{ secrets.GITHUB_TOKEN }} --skip-duplicate

.github/workflows/release.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Release build on master/main
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths: "src/**"
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Fetch all history for all tags and branches
15+
run: git fetch --prune --unshallow
16+
- name: Install GitVersion
17+
uses: gittools/actions/gitversion/setup@v0.9.7
18+
with:
19+
versionSpec: "5.5.x"
20+
- name: Setup .NET Core
21+
uses: actions/setup-dotnet@v1
22+
with:
23+
dotnet-version: "3.1.x"
24+
- name: Install dependencies
25+
run: dotnet restore src
26+
- name: Use GitVersion
27+
id: gitversion
28+
uses: gittools/actions/gitversion/execute@v0.9.7
29+
- name: Display the version
30+
run: |
31+
echo "Version: ${{ steps.gitversion.outputs.semVer }}"
32+
- name: Build
33+
run: |
34+
dotnet build src --configuration Release --no-restore -p:version=${{ steps.gitversion.outputs.semVer }}
35+
- name: Unit & integration test
36+
run: |
37+
dotnet test src --configuration Release --no-restore -p:version=${{ steps.gitversion.outputs.semVer }}
38+
- name: Collect Artifacts
39+
uses: actions/upload-artifact@v2
40+
with:
41+
name: nuget-packages
42+
path: "**/*.nupkg"
43+
- name: Publish the package to NuGet.Org
44+
run: dotnet nuget push "**/*.nupkg" -s -s https://api.nuget.org/v3/index.json -k ${{ secrets.PUBLISH_NUGET_ORG }} --skip-duplicate

0 commit comments

Comments
 (0)