slimtoolkit / slim

Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
Apache License 2.0
18.89k stars 704 forks source link

fix unit test run in CI #581

Closed reetasingh closed 9 months ago

reetasingh commented 9 months ago

Fixes-584

What

  1. Adding go generate command in unit test script so that it does not give compile time error "pattern gobinhash: no matching files found"
  2. adding format directive to log.Tracef command because it was failing in unit test

Why

How Tested

unit test in CI is passing https://github.com/slimtoolkit/slim/actions/runs/6211698084/job/16861151552?pr=581

reetasingh commented 9 months ago

@kcq PTAL