-
-
Notifications
You must be signed in to change notification settings - Fork 2
feat!: migrate to .NET 10 (CRIT-001) #465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,10 +22,10 @@ jobs: | |
| - name: Checkout | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Setup .NET 9 SDK | ||
| - name: Setup .NET 10 SDK | ||
| uses: actions/setup-dotnet@v5 | ||
| with: | ||
| dotnet-version: 9.0.x | ||
| dotnet-version: 10.0.x | ||
|
Comment on lines
+25
to
+28
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: cat -n .github/workflows/codeql.yml | head -40Repository: laurentiu021/SystemManager Length of output: 1181 🏁 Script executed: find .github/workflows -type f -name "*.yml" -o -name "*.yaml"Repository: laurentiu021/SystemManager Length of output: 227 🏁 Script executed: rg "uses:" .github/workflows/ -A 0 | head -30Repository: laurentiu021/SystemManager Length of output: 1339 🏁 Script executed: rg "@[a-z0-9.]+" .github/workflows/ --no-filename | sort | uniqRepository: laurentiu021/SystemManager Length of output: 553 Pin Line 26 uses 🧰 Tools🪛 zizmor (1.25.2)[error] 26-26: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy) (unpinned-uses) 🤖 Prompt for AI Agents |
||
|
|
||
| - name: Initialize CodeQL | ||
| uses: github/codeql-action/init@v4 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,10 +26,10 @@ jobs: | |
| with: | ||
| ref: ${{ inputs.tag || github.ref }} | ||
|
|
||
| - name: Setup .NET 9 SDK | ||
| - name: Setup .NET 10 SDK | ||
| uses: actions/setup-dotnet@v5 | ||
| with: | ||
| dotnet-version: 9.0.x | ||
| dotnet-version: 10.0.x | ||
|
Comment on lines
+29
to
+32
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: # First, let's verify the exact content of the release.yml file at lines 29-32
cat -n .github/workflows/release.yml | sed -n '25,35p'Repository: laurentiu021/SystemManager Length of output: 415 🏁 Script executed: # Let's also check what other setup actions exist in this file and how they're pinned
rg 'uses:.*@' .github/workflows/release.yml -nRepository: laurentiu021/SystemManager Length of output: 240 🏁 Script executed: # Check for other workflow files and their action pinning patterns
fd -e yml -e yaml .github/workflows/ -x rg 'uses:.*setup-dotnet' -lRepository: laurentiu021/SystemManager Length of output: 448 🏁 Script executed: # Get a broader view of how GitHub actions are pinned across all workflows
rg 'uses:.*actions/' .github/workflows/ -n | head -30Repository: laurentiu021/SystemManager Length of output: 943 Pin Line 30 uses a tag reference ( 🧰 Tools🪛 zizmor (1.25.2)[error] 30-30: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy) (unpinned-uses) 🤖 Prompt for AI Agents |
||
|
|
||
| - name: Extract tag version | ||
| id: version | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -383,7 +383,7 @@ recommended mitigation — see [SECURITY.md](SECURITY.md) for details. | |
|
|
||
| ## Build from source | ||
|
|
||
| Prerequisites: Windows 10 or newer and the [.NET 9 SDK](https://dotnet.microsoft.com/download/dotnet/9.0). | ||
| Prerequisites: Windows 10 or newer and the [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0). | ||
|
|
||
| ```powershell | ||
| git clone https://github.com/laurentiu021/SystemManager.git | ||
|
|
@@ -450,7 +450,7 @@ and elevation state in a format ready to paste into a bug report. | |
|
|
||
| ## Tech stack | ||
|
|
||
| - .NET 9 (WPF, C# 13) | ||
| - .NET 10 (WPF, C# 14) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Update the framework badge to avoid version drift in the same document. Line 453 says .NET 10, but the badge near the top still displays 🤖 Prompt for AI Agents |
||
| - CommunityToolkit.Mvvm for MVVM plumbing | ||
| - Microsoft.Extensions.DependencyInjection for IoC | ||
| - ModernWpfUI for the modern title bar | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pin
actions/setup-dotnetto a full commit SHA.Line 27 and Line 99 use a mutable tag (
@v5). That violates the pinned-action policy and weakens workflow supply-chain guarantees.🔧 Proposed fix
Also applies to: 98-102
🧰 Tools
🪛 zizmor (1.25.2)
[error] 27-27: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)
(unpinned-uses)
🤖 Prompt for AI Agents