Skip to content

Commit 2edd129

Browse files
committed
Enhance CI/CD workflow and documentation
Updated `docker-image.yml` to rename the workflow, add debugging steps, and verify `HttpClientFactory` presence. Upgraded Docker actions and added metadata extraction, local testing, and Trivy security scanning. Improved cache management and output details. Refined `Dockerfile` to use wildcard patterns for project files and optimized the publish command for smaller image size. Created comprehensive documentation: `GITHUB_ACTIONS_FIX_SUMMARY.md` for action resolutions, `ACTIONS_FAILURES_ANALYSIS.md` for in-depth failure analysis, `ACTIONS_FIX_CHECKLIST.md` for tracking fixes, `GITHUB_ACTIONS_TROUBLESHOOTING.md` for troubleshooting guidance, and `GITHUB_CLI_REFERENCE.md` for CLI usage. Added `check-dependabot.ps1` script to verify and guide `dependabot.yml` configuration updates.
1 parent 0995388 commit 2edd129

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.claude/settings.local.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
"Bash(gh run view:*)",
66
"Bash(git add:*)",
77
"Bash(git commit -m \"$(cat <<''EOF''\nFix failing GitHub Actions workflows\n\n- Remove check for non-existent Mwh.Sample.HttpClientFactory directory in Docker workflow\n- Add libgdiplus installation step for System.Drawing GDI+ tests in Azure workflow\n- Fix Trivy SARIF upload to only run when scan succeeds\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude <[email protected]>\nEOF\n)\")",
8-
"Bash(git push)"
8+
"Bash(git push)",
9+
"Bash(dotnet restore:*)",
10+
"Bash(dotnet build:*)",
11+
"Bash(dotnet test:*)",
12+
"Bash(git commit -m \"$(cat <<''EOF''\nMigrate from System.Drawing to SkiaSharp for cross-platform image processing\n\n- Replace System.Drawing.Common with SkiaSharp (v3.116.0) for MIT-licensed, cross-platform image support\n- Update ImageExtensions to use SKBitmap and SKSamplingOptions APIs\n- Update BaseController image upload to use SkiaSharp encoding\n- Update ImageExtensionsTests to use SkiaSharp types\n- Remove libgdiplus dependency from Azure workflow (no longer needed)\n- All 192 tests now pass on both Windows and Linux without native library dependencies\n\nBenefits:\n- No more libgdiplus dependency issues on Linux\n- Pure cross-platform solution with native library bundles\n- MIT license (no commercial restrictions)\n- Modern API using SKSamplingOptions instead of deprecated SKFilterQuality\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude <[email protected]>\nEOF\n)\")"
913
],
1014
"deny": [],
1115
"ask": []

Mwh.Sample.Domain/Mwh.Sample.Domain.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@
2828
</ItemGroup>
2929
<ItemGroup>
3030
<PackageReference Include="SkiaSharp" Version="3.116.0" />
31+
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="3.116.0" />
3132
</ItemGroup>
3233
</Project>
12.7 KB
Loading

0 commit comments

Comments
 (0)