infra: gradle-cache-action 버전 업그레이드 #311
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
문제
최대 1~2분 걸리던 CI 워크플로우가 최소 3분에서 최대 5~6분이 걸렸다.
해결
Gradle 셋업, 빌드, 캐싱을 위해 사용하는 gradle-cache-action 라이브러리의 버전 업그레이드
원인
GitHub Actions가 강제로 Node.js 버전을 16에서 20으로 업그레이드하면서 HTTP Timeout default 값이 5초에서 60초로 변경됨에 따라 딜레이가 발생한 것으로 예상된다.
기존에 사용하던 v1은 node16을 사용하고 있었다.
따라서 node20을 사용하는 v2로 업그레이드하였고, 실제로 해당 이슈에 대응한 것으로 파악했다.
실제로 Actions 라이브러리 중, setup-java의 경우에도 이와 비슷한 문제가 발생한 적이 있다.
Relation Issues