Attila Doroszlai created RANGER-5066:
----------------------------------------
Summary: Improve CI workflow
Key: RANGER-5066
URL: https://issues.apache.org/jira/browse/RANGER-5066
Project: Ranger
Issue Type: Improvement
Components: build-infra
Reporter: Attila Doroszlai
I would like to propose some improvements for the CI workflow:
- Use {{actions/cache}} instead of {{setup-java}}'s simple cache option. This
allows restoring "similar" caches, not just exact cache hits.
- Run {{build-11}} only after {{build-8}}. If Java 8 build fails, no need to
spend time trying with Java 11. Run {{build-11}} and {{docker-build}} (test)
concurrently.
- Run the workflow on {{push}} for any branch. This allows contributors to run
the workflow in their fork, to get CI feedback before opening PR. (Without
pushing to {{master}} in their fork.)
Will post a PR.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)