apache / apache/texera

Cache the license-eye build in the Check License Headers job

Open
#7,136 1 comment 0 reactions 1 assignee Claimed by @Amer-Mukhtar View on GitHub
Dominant language
Scala
Stars
314
Forks
187
Avg merge
1d 21h
Merged PRs (30d)
214

Description

### Task Summary

The Check License Headers job (`check-header.yml`) uses apache/skywalking-eyes, whose composite action downloads Go module dependencies and builds `license-eye` from source on every run. That toolchain step costs roughly 40s of the ~70s job while the actual header scan of ~2,900 files takes ~30s. Add `actions/cache` for the Go module/build cache (or the built binary), keyed on the pinned skywalking-eyes commit. Warm runs then skip the rebuild and the job drops to roughly half its current time.

### Task Type

- [x] DevOps / Deployment / CI
- [x] Performance

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.