Skip to content

Commit 146cebe

Browse files
leodidoona-agent
andcommitted
build: upgrade anchore dependencies to fix mapstructure compatibility
- Upgrade github.com/anchore/clio to v0.0.0-20250926015255-f418e0b4892c - This brings github.com/anchore/fangs to v0.0.0-20250924221602-895877cb39ec - Fixes compatibility issue between mitchellh/mapstructure and go-viper/mapstructure/v2 - Resolves build failures in cmd package tests due to type mismatch - Updates related dependencies (fsnotify, gookit/color, cobra, etc.) The root cause was that older fangs used mitchellh/mapstructure while newer viper uses go-viper/mapstructure/v2, causing DecoderConfigOption function signature mismatches. The newer fangs version is compatible with the newer mapstructure API. Fixes: cmd package tests now pass, binary builds successfully Co-authored-by: Ona <no-reply@ona.com>
1 parent 9c6e79c commit 146cebe

2 files changed

Lines changed: 568 additions & 435 deletions

File tree

0 commit comments

Comments
 (0)