woodpecker-ci / plugin-extend-env

Export semver variables to an env file
Apache License 2.0
0 stars 1 forks source link

Fix pre-commit #15

Closed qwerty287 closed 8 months ago

qwerty287 commented 8 months ago

https://results.pre-commit.ci/run/github/719497043/1702535043.3d-ZK0xPS7yn2voT2jW-LQ

Maybe @pat-s, do you know more?

pat-s commented 8 months ago

Looks like a temporary DL issue?

qwerty287 commented 8 months ago

Yes, I also thought first. But take a look at the repo list https://results.pre-commit.ci/repo/github/719497043 - all are failing (about a time of about 1.5 weeks)

pat-s commented 8 months ago

I'm on the phone atm so can't do much browsing. But we use this hook in many repos, if it only fails here then it's likely a repo specific issue.

pat-s commented 8 months ago

It works locally with pre-commit run --all-files so the config seems ok. I don't see any other config issue either. It's a bit strange it failed for all tries in this repo so far.

But it reads and looks like a DL issue. I'd suggest observing a bit longer. The last run was 9 days ago, maybe things are better meanwhile.

qwerty287 commented 8 months ago

As you can see for #16, it's still not working and fails with the same error: https://results.pre-commit.ci/run/github/719497043/1703429013.D1egknPfR0uox4ZhFbKnbQ

anbraten commented 8 months ago

Checked if I could reset any caches, but from what I saw there is no settings area, etc.

pat-s commented 8 months ago

Precommit uses a global cache for all runs for all users. I suspect it might be an issue with the DL of the toolchain pkg. I'll play around a bit

pat-s commented 8 months ago

Apparently a golang version of x.x.x doesn't work, only x.x