-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor Docker workflow for improved digest handling and registry image management #331
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 |
|---|---|---|
|
|
@@ -97,6 +97,7 @@ help: | |
| @echo " install - Set up full environment" | ||
| @echo " setup - Basic Nix setup" | ||
| @echo " setup-dev - Set up local development environment (Nix + submodules + shell)" | ||
| @echo " dev - Enter the Nix dev shell" | ||
|
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. PR metadata is inconsistent with actual changes. The PR title mentions "Docker workflow" improvements and "registry image management," but the actual changes in this PR are focused on:
Consider updating the PR title and description to accurately reflect these changes, for example: "Add dev shell targets and enable biome formatting." 🤖 Prompt for AI Agents |
||
| @echo " build - Build Nix configuration" | ||
| @echo " switch - Apply Nix configuration" | ||
| @echo " update - Update Nix flake and configurations" | ||
|
|
@@ -137,6 +138,9 @@ switch: nix-switch | |
| .PHONY: update | ||
| update: nix-update shell-update | ||
|
|
||
| .PHONY: dev | ||
| dev: nix-develop | ||
|
|
||
| ##@ Nix Setup | ||
|
|
||
| .PHONY: nix-setup | ||
|
|
@@ -180,6 +184,10 @@ nix-check: | |
| fi | ||
| @echo "✅ Nix environment found!" | ||
|
|
||
| .PHONY: nix-develop | ||
| nix-develop: | ||
| $(NIX_ALLOW_UNFREE) $(NIX_EXEC) develop $(NIX_FLAGS) | ||
|
|
||
| .PHONY: nix-install | ||
| nix-install: | ||
| @if [ "$(NIX_ENV)" = "not_found" ]; then \ | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -129,8 +129,7 @@ | |
| treefmt = { | ||
| projectRootFile = "flake.nix"; | ||
| programs = { | ||
| actionlint.enable = false; | ||
| biome.enable = false; # Temporarily disabled due to schema hash mismatch | ||
| biome.enable = true; | ||
|
||
| nixfmt.enable = true; | ||
| shfmt.enable = true; | ||
| stylua.enable = true; | ||
|
|
||
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 the
free-disk-spaceaction to a specific version.Line 74 uses
jlumbroso/free-disk-space@main, which violates the guideline to pin all actions to specific versions and avoid@main/@master. Using@mainintroduces non-determinism and potential breaking changes across workflow runs.Apply this diff to pin the action to a specific release version:
The
continue-on-error: trueis recommended because disk space cleanup is a prerequisite optimization, not core functionality—if it fails, the build should still attempt to proceed rather than immediately fail. As per coding guidelines.📝 Committable suggestion
🤖 Prompt for AI Agents