Skip to content

feat: enhance project infrastructure#10

Merged
mortezaPRK merged 3 commits intomainfrom
feature/enhance-project-infrastructure
Apr 12, 2026
Merged

feat: enhance project infrastructure#10
mortezaPRK merged 3 commits intomainfrom
feature/enhance-project-infrastructure

Conversation

@mortezaPRK
Copy link
Copy Markdown
Owner

@mortezaPRK mortezaPRK commented Apr 4, 2026

📋 Description

This PR enhances kmir's project infrastructure by adding essential development tooling, CI/CD pipelines, testing infrastructure, and documentation.

🎯 Motivation

The kmir project lacked essential open-source infrastructure:

  • No license
  • No testing
  • No CI/CD checks
  • No code quality tooling

This brings kmir up to modern open-source standards.

✨ Changes

Documentation

  • ✅ MIT License
  • ✅ Enhanced README with development guidelines

CI/CD

  • ✅ CI workflow (tests, linting, vulnerability scanning)
  • ✅ Updated Release workflow (pinned action SHAs)

Code Quality

  • ✅ golangci-lint v2 configuration
  • ✅ Makefile with common commands
  • ✅ .gitignore for Go projects

Testing

  • ✅ Unit tests for types, config, and main functions
  • ✅ 15.6% code coverage
  • ✅ Table-driven tests for parsing logic

🧪 Testing

All tests pass:

make test  # ✅ PASS
make lint  # ✅ PASS
go vet ./...  # ✅ PASS

📊 Checklist

  • Tests pass locally
  • Linting passes
  • Documentation updated (README.md)
  • Commit messages follow conventions

🔗 Related

Closes #N/A (enhancement based on internal review)

- Pin GitHub Actions to tag SHAs instead of commit SHAs
- Use make targets in CI workflows instead of raw commands
- Add vulncheck to Makefile and CI
- Simplify golangci-lint config for v2 compatibility
- Fix README hallucinations (remove non-existent file references)
- Add Dependabot configuration for GitHub Actions and Go modules
@mortezaPRK mortezaPRK force-pushed the feature/enhance-project-infrastructure branch from b630987 to 99ecc32 Compare April 12, 2026 18:23
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@mortezaPRK mortezaPRK merged commit dafd47b into main Apr 12, 2026
4 of 6 checks passed
@mortezaPRK mortezaPRK deleted the feature/enhance-project-infrastructure branch April 12, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants