Skip to content

Commit c6cbd9a

Browse files
authored
Merge branch 'main' into optimise_compare
2 parents 38fd2ec + 0349524 commit c6cbd9a

File tree

108 files changed

+2414
-764
lines changed

Some content is hidden

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

108 files changed

+2414
-764
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Bug
2+
description: Report a bug or unexpected behavior
3+
title: "[Bug]: "
4+
labels: []
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to report a bug! Please fill out the information below to help us investigate.
10+
11+
**Before submitting**, please check:
12+
- I've searched [existing issues](https://github.com/belav/csharpier/issues) to ensure this isn't a duplicate
13+
- I've read the [documentation](https://csharpier.com/) and this isn't expected behavior
14+
- I'm using the latest version of CSharpier ![CSharpier](https://img.shields.io/nuget/v/CSharpier)
15+
- I'm using the latest version of CSharpier's IDE plugin and understand it is versioned independently of CSharpier
16+
17+
- type: textarea
18+
id: description
19+
attributes:
20+
label: Description
21+
description: A clear and concise description of what the bug is.
22+
placeholder: Describe the bug...
23+
validations:
24+
required: true
25+
26+
- type: textarea
27+
id: reproduction
28+
attributes:
29+
label: Steps to Reproduce
30+
description: |
31+
Please provide a minimal code example that reproduces the issue or a link to a repository that reproduces the problem.
32+
Include test code and any relevant configuration.
33+
validations:
34+
required: true
35+
36+
- type: textarea
37+
id: expected
38+
attributes:
39+
label: Expected Behavior
40+
description: What did you expect to happen?
41+
validations:
42+
required: true
43+
44+
- type: textarea
45+
id: actual
46+
attributes:
47+
label: Actual Behavior
48+
description: What actually happened?
49+
validations:
50+
required: true
51+

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

.github/ISSUE_TEMPLATE/extension--rider--vs--vscode-.md

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

.github/ISSUE_TEMPLATE/feature.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Feature Request
2+
description: Suggest a new feature or enhancement
3+
title: "[Feature]: "
4+
labels: []
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to report a bug! Please fill out the information below to help us investigate.
10+
11+
**Before submitting**, please check:
12+
- I've searched [existing issues](https://github.com/belav/csharpier/issues) to ensure this isn't a duplicate
13+
- I'm not submitting a request for an option. Option requests will be closed without comment.
14+
15+
- type: textarea
16+
id: description
17+
attributes:
18+
label: Description
19+
description: A clear and concise description of the feature request
20+
validations:
21+
required: true

.github/ISSUE_TEMPLATE/formatting.md

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

.github/ISSUE_TEMPLATE/integration.md

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

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Description
2+
3+
<!-- Provide a brief description of the changes in this PR -->
4+
5+
## Related Issue
6+
7+
<!-- Link to the issue this PR addresses (use "Fixes #123" or "Closes #123" to auto-close) -->
8+
9+
### Checklist
10+
11+
- [ ] My code follows the project's code style
12+
- always `var`
13+
- follow existing naming conventions
14+
- always `this.`
15+
- no pointless comments
16+
- [ ] I will not force push after a code review of my PR has started
17+
- [ ] I have added tests that cover my changes

.github/workflows/ValidatePullRequest.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-dotnet@v3
1212
- run: >
13-
dotnet test CSharpier.slnx
14-
--configuration Release
15-
--logger "GitHubActions;summary.includePassedTests=true;summary.includeSkippedTests=true"
16-
--
17-
RunConfiguration.CollectSourceInformation=true
13+
dotnet test --solution CSharpier.slnx
1814
no_warnings:
1915
runs-on: ubuntu-latest
2016
name: No Warnings

.github/workflows/publish_nuget.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-dotnet@v3
1212
- run: >
13-
dotnet test Src/CSharpier.Tests/CSharpier.Tests.csproj
14-
--configuration Release
15-
--logger "GitHubActions;summary.includePassedTests=true;summary.includeSkippedTests=true"
16-
--
17-
RunConfiguration.CollectSourceInformation=true
13+
dotnet build CSharpier.slnx -c release -p:TreatWarningsAsErrors=true
1814
1915
publish-nuget:
2016
runs-on: ubuntu-latest

.github/workflows/stale.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Close stale issues and PRs"
2+
on:
3+
schedule:
4+
- cron: "0 0 * * *"
5+
workflow_dispatch:
6+
7+
jobs:
8+
stale:
9+
if: github.ref == 'refs/heads/main'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/stale@v10
13+
with:
14+
exempt-all-milestones: "true"
15+
exempt-issue-labels: "status:needs discussion,priority:low,priority:medium,priority:high,priority:wishful thinking,type:bug,type:enhancement"
16+
stale-issue-message: "This issue is stale because it has been open 90 days with no activity and was not assigned a label or milestone. Leave a comment if this still needs to be addressed or this will be closed in 7 days."
17+
stale-pr-message: "This PR is stale because it has been open 90 days with no activity. Leave a comment if this is still needed or this will be closed in 7 days."
18+
close-issue-message: "This issue was closed because it has been stalled for 7 days with no activity."
19+
close-pr-message: "This PR was closed because it has been stalled for 7 days with no activity."
20+
days-before-issue-stale: 90
21+
days-before-pr-stale: 90
22+
days-before-issue-close: 7
23+
days-before-pr-close: 7
24+
operations-per-run: "90"

0 commit comments

Comments
 (0)