eclipse-score / eclipse-score/cicd-workflows
bug(on-pr): common checks enables cache too late
Closed
good first issue
- Dominant language
- Dockerfile
- Stars
- 0
- Forks
- 17
- Avg merge
- 17h 55m
- Merged PRs (30d)
- 16
Description
### Description
In [lifecycle](https://github.com/eclipse-score/lifecycle), our pre-commit hooks depend on Bazel. Since the "common checks" workflow installs the Bazel cache after already running pre-commit, it cannot take advantage of the cache and so it is very slow.
Example: https://github.com/eclipse-score/lifecycle/actions/runs/32033359702/job/95398109206
In this case the "common checks" took three times as long as our actual project build.
### Solution
Moving the Bazel cache action to the top of the workflow should improve this.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.