fix(scripts): install Go 1.25.3 in pre-commit container and fix formatting

This commit is contained in:
2025-11-07 09:47:50 +01:00
parent b531f92436
commit 93623e6865
6 changed files with 26 additions and 9 deletions

View File

@@ -197,10 +197,15 @@ When working on this project, follow this workflow:
### 7. Commit Changes
- **ALWAYS commit** after successful implementation
- Ensure the code builds (`go build`)
- Ensure all tests pass (`go test`)
- Ensure there are no linter issues (`make lint`)
- Ensure there are no fmt issues (`make fmt-check`)
- Verify that everything is in order before commit:
- there is a Gitea Runner image in ci/pre-commit
- check if we have wirelos/pre-commit locally. if not, build it
- start the gitea-runner locally and mount the project directory.
- Ensure the code builds (`go build`)
- Ensure all tests pass (`go test`)
- Ensure there are no linter issues (`make lint`)
- Ensure there are no fmt issues (`make fmt-check`)
- If there are issues, fix them before comitting
- Verify all acceptance criteria are met
- Write a clear, descriptive commit message