Hi friends. I'm getting a kondo warning when running the same kondo command in Github Actions but not in my OSX terminal. Both kondo versions running are the same (`v2024.08.29`). The message we get is duplicate require of babashka.pods I can get around it by suppressing the warning, but wondered if you had an idea why this might happen?
#!/usr/bin/env bb
(require '[babashka.pods :as pods])
(pods/load-pod 'org.babashka/postgresql "0.1.0")
(ns mole-compare
(:require [babashka.curl :as curl]
[cheshire.core :as json]
[clojure.pprint]
[clojure.set :as sets]
[clojure.string :as string]
[pod.babashka.postgresql :as pg]))
Hey Jake, let's see..
Is the github action log public?
Its not, but I can send you what I get. Just a sec.
doesn't ring a bell, but if you can make some kind of public isolated repro, that would be helpful
Ok, I'll work on that.
Thanks
Hmm, I made a small repo that "in theory" did the same thing I was seeing my private repo and it worked fine. https://github.com/jakepearson/kondo-gha/actions/runs/11039051409/job/30663656822?pr=2 So I guess something else is going on. I'll keep an eye out. Thanks for the great tool!
perhaps you're caching the .cache directory or so?
not sure if that matters
Good idea, let me check
I think the cache code is broken on both repos ... probably should fix that. But also seems to mean that my 2 repos are the same in that regard.