Skip to content

Commit 58b11b8

Browse files
build: Update to .NET 8
1 parent 2b4d0c9 commit 58b11b8

31 files changed

Lines changed: 315 additions & 1316 deletions

.editorconfig

Lines changed: 29 additions & 1121 deletions
Large diffs are not rendered by default.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ body:
4848
- type: input
4949
attributes:
5050
label: Version number
51-
description: Please specify the version number of the application you are using.
51+
description: Please specify the version number of the software you are using.
5252
validations:
5353
required: false
5454
- type: textarea
@@ -60,6 +60,6 @@ body:
6060
6161
Links? References? Anything that will give us more context about the issue you are encountering!
6262
63-
Tip: You can attatch images or log files by clicking this area to highlight it and then dragging files in.
63+
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
6464
validations:
6565
required: false

.github/ISSUE_TEMPLATE/design_proposal.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ body:
3030
- type: textarea
3131
attributes:
3232
label: Risks / unknowns
33-
description: How might people misinterpret/misuse this? How might implementing it restrict us from other enhancements in the future? Also list any other perf/security/corectness concerns.
33+
description: How might others misinterpret/misuse this? How might implementing it restrict us from other enhancements in the future? Also list any perf/security/correctness concerns.
3434
validations:
3535
required: true
3636
- type: textarea
@@ -39,12 +39,21 @@ body:
3939
description: |
4040
Give brief examples of possible developer and user experiences.
4141
42-
Don't be deeply concerned with how it will be implemented yet. Your examples could even be from other technology stacks or applications.
42+
Don't be deeply concerned with how it would be implemented yet. Your examples could even be from other technology stacks or applications.
4343
validations:
4444
required: true
4545
- type: textarea
4646
attributes:
4747
label: Detailed design
48-
description: Detail the design here.
48+
description: |
49+
It's often best not to fill this out until you get basic consensus about the above. When you do, consider adding an implementation proposal with the following headings:
50+
51+
Detailed design
52+
Drawbacks
53+
Considered alternatives
54+
Open questions
55+
References
56+
57+
If there's one clear design you have consensus on, you could do that directly in a PR.
4958
validations:
50-
required: true
59+
required: false

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ body:
66
- type: checkboxes
77
attributes:
88
label: Is there an existing issue for this?
9-
description: Please search to see if an issue already exists for the bug you encountered.
9+
description: Please search to see if an issue already exists for the feature you are requesting. ([issues](https://github.com/AndrewBabbitt97/BlazorDesktop/issues)).
1010
options:
1111
- label: I have searched the existing issues
1212
required: true
@@ -26,6 +26,6 @@ body:
2626
- type: textarea
2727
attributes:
2828
label: Additional context
29-
description: Add any other context or screenshots about the feature here.
29+
description: Add any other context or screenshots about the feature request here.
3030
validations:
31-
required: true
31+
required: false

.github/changelog.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"categories": [
3+
{
4+
"title": "## 🚀 Features",
5+
"labels": [
6+
"feat"
7+
]
8+
},
9+
{
10+
"title": "## 🪲 Bug Fixes",
11+
"labels": [
12+
"fix"
13+
]
14+
},
15+
{
16+
"title": "## 📄 Documentation",
17+
"labels": [
18+
"docs"
19+
]
20+
},
21+
{
22+
"title": "## 🚅 Performance Improvements",
23+
"labels": [
24+
"perf"
25+
]
26+
},
27+
{
28+
"title": "## 🧪 Tests",
29+
"labels": [
30+
"test"
31+
]
32+
},
33+
{
34+
"title": "## 📦 Builds",
35+
"labels": [
36+
"build"
37+
]
38+
},
39+
{
40+
"title": "## ♾️ Continuous Integrations",
41+
"labels": [
42+
"ci"
43+
]
44+
},
45+
{
46+
"title": "## ❌ Reverts",
47+
"labels": [
48+
"revert"
49+
]
50+
},
51+
{
52+
"title": "## ✔️ Other Changes",
53+
"labels": [
54+
"style",
55+
"refactor",
56+
"chore"
57+
]
58+
}
59+
],
60+
"label_extractor": [
61+
{
62+
"pattern": "^(feat|fix|docs|perf|test|build|ci|revert|style|refactor|chore){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)",
63+
"target": "$1"
64+
}
65+
],
66+
"template": "${{CHANGELOG}}",
67+
"pr_template": "- ${{TITLE}}",
68+
"empty_template": "- No Changes",
69+
"max_tags_to_fetch": 1000,
70+
"max_back_track_time_days": 1000
71+
}

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "daily"
7+
commit-message:
8+
prefix: ci
79

810
- package-ecosystem: "nuget"
911
directory: "/"
1012
schedule:
1113
interval: "daily"
14+
commit-message:
15+
prefix: build

.github/pull_request_template.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<!-- Thank you for submitting a pull request to our repo. -->
44

5-
<!-- Please run through this checklist below to ensure a smooth review and merge process for your PR.
6-
Replace the space in the square brackets with an x to check them. -->
5+
<!-- If this is your first PR in this repo, please run through the checklist
6+
below to ensure a smooth review and merge process for your PR. -->
77

88
- [ ] You've read the [Contributor Guide](https://github.com/AndrewBabbitt97/BlazorDesktop/blob/main/CONTRIBUTING.md) and [Code of Conduct](https://github.com/AndrewBabbitt97/BlazorDesktop/blob/main/CODE_OF_CONDUCT.md).
99
- [ ] You've included unit or integration tests for your change, where applicable.
@@ -14,10 +14,10 @@ Replace the space in the square brackets with an x to check them. -->
1414

1515
## Summary of the changes
1616

17-
{Summary} (Less than 80 characters)
17+
{Summary}
1818

1919
## Description
2020

2121
{Detail}
2222

23-
Fixes #{issue number}
23+
Fixes #{bug number}

.github/workflows/build-code.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,14 @@ jobs:
1818
uses: actions/checkout@v4
1919

2020
- name: Set up .NET
21-
uses: actions/setup-dotnet@v3
21+
uses: zyactions/dotnet-setup@v1
2222
with:
23-
dotnet-version: "7.0.x"
23+
global-json-file: src/global.json
24+
25+
- name: Restore .NET dependencies
26+
uses: zyactions/dotnet-restore@v1
27+
with:
28+
working-directory: src/
2429

2530
- name: Build solution
2631
run: dotnet build src/

.github/workflows/lint-code.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,16 @@ jobs:
1818
uses: actions/checkout@v4
1919

2020
- name: Set up .NET
21-
uses: actions/setup-dotnet@v3
21+
uses: zyactions/dotnet-setup@v1
2222
with:
23-
dotnet-version: "7.0.x"
23+
global-json-file: src/global.json
2424

25-
- name: Run linters
26-
uses: wearerequired/lint-action@v2
25+
- name: Restore .NET dependencies
26+
uses: zyactions/dotnet-restore@v1
2727
with:
28-
continue_on_error: false
29-
dotnet_format: true
30-
dotnet_format_dir: src/
28+
working-directory: src/
29+
30+
- name: Lint solution
31+
uses: zyactions/dotnet-lint@v1
32+
with:
33+
working-directory: src/

.github/workflows/lint-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
lint-pr:
1212
name: Lint PR
1313
runs-on: ubuntu-latest
14-
14+
1515
steps:
1616
- uses: amannn/action-semantic-pull-request@v5
1717
env:

0 commit comments

Comments
 (0)