Skip to content

Commit d120641

Browse files
committed
chore: release v0.2.2
## Changes ### Testing - Consolidated test utilities into tests/common/mod.rs - Reorganized tests: 4 files → 2 files (test_installation.rs, test_hooks.rs) - Added new scenarios: worktrees, multiple hooks, error messages - Total: 41 tests ### CI/CD - Added code coverage workflow (tarpaulin + Codecov) - Added coverage badge to README ### Build - Makefile: added coverage, doc-check targets - .gitignore: added coverage files
1 parent 85e5125 commit d120641

File tree

5 files changed

+27
-63
lines changed

5 files changed

+27
-63
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/workflows/coverage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ jobs:
3131
files: coverage/cobertura.xml
3232
fail_ci_if_error: false
3333
verbose: true
34+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/docker.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,31 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.2.2] - 2026-01-09
6+
7+
### 🧪 Testing
8+
9+
- **Test infrastructure refactoring**: Consolidated test utilities into `tests/common/mod.rs`
10+
- **Test reorganization**: Merged 4 test files into 2 clear files (`test_installation.rs`, `test_hooks.rs`)
11+
- **New test scenarios**: Git worktrees, multiple hooks (10 types), error message validation
12+
- **Total**: 41 tests covering submodules, workspaces, worktrees, and edge cases
13+
14+
### 🔧 CI/CD
15+
16+
- **Code coverage**: Added `coverage.yml` workflow with tarpaulin and Codecov integration
17+
- **Coverage badge**: Added to README
18+
19+
### 📦 Build
20+
21+
- **Makefile improvements**:
22+
- Added `make coverage` target
23+
- Added `make doc-check` target
24+
- Included `doc-check` in `make ci`
25+
- Fixed CRLF line endings
26+
- **.gitignore**: Added coverage report files
27+
28+
---
29+
530
## [0.2.1] - 2026-01-09
631

732
### 🐛 Bug Fixes

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "husky-rs"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
edition = "2021"
55
rust-version = "1.70"
66
description = "Git hooks manager for Rust projects - automatically install and manage Git hooks on build"

0 commit comments

Comments
 (0)