chore: Use setup-python action to cache dependencies #16
+13
−4
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.
배경
#9
작업 내용
pip freeze > requirements.txt
를 통하여 pip 의존성 정보가 담긴requirements.txt
을 생성하였습니다.actions/setup-python@v3
부터 의존성 캐싱 기능이 빌트인 지원되기 때문에 v3으로 변경하였습니다.cache: pip
옵션을 사용하여 python 설정 시 캐시를 복원/저장하도록 하였습니다.requirements.txt
를 읽어와 의존성을 설치하도록 변경하였습니다.References