ci: cache mise tools and Go build artifacts in Forgejo pipelines #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/cache-mise-go-ci"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Each mise job re-bootstrapped the full toolchain (go, golangci-lint,
task, goreleaser) and recompiled the module from scratch on every run.
Add actions/cache@v4 steps for mise's data/cache dirs (keyed on
mise.toml) and the Go module/build caches (keyed on go.sum) so repeat
runs restore instead of re-downloading and recompiling.
actions/cache is used over jdx/mise-action because the latter is not
mirrored on Forgejo's default actions registry, while actions/cache is
(resolves the same way as the existing actions/checkout@v4). The bootstrap
flow is unchanged; on a cache hit
mise installbecomes a near no-op.Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com