Commit 6e6f46d
Update TFM to .NET 9.0 and create shared dotnet setup action for workflows (#208)
- [x] Create global.json file with .NET 9.0 SDK version
- [x] Update TFM in ListingManager.csproj from net8.0 to net9.0
- [x] Update TFM in ListingManager.Tests.csproj from net8.0 to net9.0
- [x] Create shared composite action for setup-dotnet in workflows
- [x] Update build-and-test.yml to use shared action with global.json
- [x] Update deploy.yml to use shared action with global.json
- [x] Verify all tests pass with .NET 9.0 (71/77 passing - same as
before)
- [x] Verify packing continues to work with .NET 9.0 (successfully
creates nupkg with net9.0 tools)
- [x] Fix global.json to use version 9.0.100 (base SDK version) instead
of 9.0.0 which doesn't exist
<!-- START COPILOT CODING AGENT SUFFIX -->
<details>
<summary>Original prompt</summary>
> Update TFM to .net9.0 and global.json to .net 9.0 - make sure all
tests and packing continue to work.
>
> In all workflows, make a shared action for setting up dotnet, in which
instead of hard coding the .net version, let it target the global.json
file
>
> - uses: actions/setup-dotnet@v5
> with:
> global-json-file: csharp/global.json
</details>
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com>1 parent 3ac3b09 commit 6e6f46d
6 files changed
Lines changed: 20 additions & 8 deletions
File tree
- .github
- actions/setup-dotnet
- workflows
- ListingManager.Tests
- ListingManager
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
| 36 | + | |
39 | 37 | | |
40 | 38 | | |
41 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments