1
0
Fork 0
mirror of https://github.com/imjasonh/apidiff-action synced 2026-07-06 22:52:43 +00:00
Commit graph

22 commits

Author SHA1 Message Date
Jason Hall
deed53e7b8
Add husky pre-commit hook
- Runs lint-staged for automatic formatting of JS/JSON/YAML
- Runs pre-commit for all validation checks
- Ensures code quality before commits reach the repository
- Prevents CI failures due to formatting issues
2025-07-29 18:05:10 -04:00
Jason Hall
3d82cf94dd
Merge pull request #5 from imjasonh/add-dependabot
Add Dependabot configuration
2025-07-29 18:02:05 -04:00
Jason Hall
f47f0ff743
Fix formatting in dependabot.yml
- Apply prettier formatting (single quotes)
- Add newline at end of file
2025-07-29 18:00:34 -04:00
Jason Hall
3d17f2e7e8
Add Dependabot configuration
- Enable automatic dependency updates for npm packages
- Enable automatic updates for GitHub Actions
- Group updates to reduce PR noise:
  - Production dependencies in one group
  - Development dependencies in another group
  - All GitHub Actions updates grouped together
- Schedule weekly checks on Mondays
2025-07-29 17:55:14 -04:00
Jason Hall
c6b0ae7b48
Merge pull request #4 from imjasonh/imjasonh-patch-1
Update README.md
2025-07-29 17:41:54 -04:00
Jason Hall
c464ce8241
Update README.md 2025-07-29 17:41:16 -04:00
Jason Hall
6a27c8d063
Merge pull request #2 from imjasonh/convert-to-action
Convert to apidiff-action GitHub Action
2025-07-29 17:35:16 -04:00
Jason Hall
f9bedf8b44
Use pre-commit action in CI
- Replace individual lint/test/build steps with pre-commit action
- Ensures CI runs exactly the same checks as local development
- Includes dist up-to-date check via pre-commit hooks
2025-07-29 17:21:43 -04:00
Jason Hall
805c061497
Fix lint errors and formatting
- Remove unused variables
- Add .eslintignore to exclude dist/
- Apply prettier formatting
- Fix all pre-commit hook issues
2025-07-29 17:07:15 -04:00
Jason Hall
e3eca548b6
Fix apidiff path handling for export files
Use relative paths when comparing export files
2025-07-29 17:04:28 -04:00
Jason Hall
99351e17cb
Fix apidiff export path handling
Use relative paths when creating export files in subdirectories
2025-07-29 17:00:26 -04:00
Jason Hall
d05e5461cf
Merge main and resolve conflicts
Keep Node.js-based configuration for both CI and pre-commit
2025-07-29 16:44:48 -04:00
Jason Hall
b92e3a611c
Transform to apidiff-action GitHub Action
- Remove all Go code and replace with Node.js GitHub Action
- Use official golang.org/x/exp/cmd/apidiff tool
- Add PR comment functionality
- Support both git refs and directory comparisons
- Add comprehensive test suite with testdata examples
- Update CI to test action with breaking/safe/clean examples

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 16:33:49 -04:00
Jason Hall
e99c464ef3
Merge pull request #1 from imjasonh/add-ci-cd
Simplify CI workflow to use pre-commit action
2025-07-29 15:05:05 -04:00
Jason Hall
24ccbeb042
Remove golangci config to support v2
golangci-lint v2.3.0 works best with default configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 15:01:40 -04:00
Jason Hall
986abe49b3
Fix CI: Install goimports and add golangci-lint to pre-commit
- Add goimports installation to CI workflow
- Add golangci-lint to pre-commit hooks
- Fix deprecated golangci-lint config options (gomnd→mnd, check-shadowing→shadow)
- Remove duplicate issues section in golangci.yml

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 14:54:53 -04:00
Jason Hall
23799581ad
Simplify CI workflow to use pre-commit action 2025-07-29 14:47:09 -04:00
Jason Hall
37ea620324
Add CI/CD setup with pre-commit hooks and GitHub Actions
- Add pre-commit configuration for code quality checks
- Set up GitHub Actions for CI with test, lint, and build jobs
- Add golangci-lint configuration
- Create Makefile for common development tasks
- Update README with development instructions
- Fix code formatting issues

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 14:38:27 -04:00
Jason Hall
abf9339c2d
Merge branch 'main' of https://github.com/imjasonh/goapidiff 2025-07-29 10:26:36 -04:00
Jason Hall
8c8f02a168
Fix README formatting 2025-07-29 10:26:25 -04:00
Jason Hall
449d0c57e6
Initial commit of goapidiff
A Go tool that analyzes API changes between two versions and reports breaking changes.

Features:
- Detects breaking API changes in Go code
- Compares git refs or directories
- Ignores internal/ packages by default
- Multiple output formats: text, JSON, markdown
- CI-friendly exit codes

Built on top of golang.org/x/exp/apidiff which provides the core API analysis.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 10:25:22 -04:00
Jason Hall
4accceced1
Initial commit 2025-07-29 10:24:36 -04:00