Enhance CI and project structure with updates and automation#23
Open
marcschaeferger wants to merge 5 commits into
Open
Enhance CI and project structure with updates and automation#23marcschaeferger wants to merge 5 commits into
marcschaeferger wants to merge 5 commits into
Conversation
…stem and add github ci action Signed-off-by: Marc Schäfer <git@marcschaeferger.de>
…es and add test coverage Signed-off-by: Marc Schäfer <git@marcschaeferger.de>
Signed-off-by: Marc Schäfer <git@marcschaeferger.de>
…angci config Signed-off-by: Marc Schäfer <git@marcschaeferger.de>
…nd badges Signed-off-by: Marc Schäfer <git@marcschaeferger.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces comprehensive improvements to the project's development workflow, code quality enforcement, and testing. Major changes include the addition of automated CI via GitHub Actions, stricter dependency and update management, the introduction of extensive linting rules, and the addition of thorough unit tests for core logic. The Go version is also updated to 1.26 for improved compatibility and features.
Continuous Integration and Quality Checks
ci.yml) to automate testing, linting, vulnerability scanning, and plugin metadata validation on every push and pull request. This ensures code quality and early detection of issues.Makefilewith targets for formatting, linting, testing, vulnerability checks, Yaegi compatibility, and a combinedcitarget that mirrors the CI pipeline.Dependency and Update Management
.github/dependabot.ymlto group and limit pull requests for Go modules and GitHub Actions dependencies, improving update hygiene and reducing noise..go-versionandgo.modfrom 1.25 to 1.26 to leverage newer language features and maintain support. [1] [2]Linting and Code Quality
.golangci.ymlconfiguration, enabling a wide range of linters for correctness, security, maintainability, and dependency hygiene, with project-specific relaxations and exclusions to balance strictness and practicality.Testing Improvements
badger_test.go, covering configuration validation, IP header handling, and session cookie management.ips/ips_test.goto ensure all entries are valid CIDRs.Note:
PR Titel and Description generated by AI. Code/Repo changes 100% by human