💚 ci: venv 캐시 추가 및 Chrome 드라이버 설치 설정 보강
This commit is contained in:
11
.github/workflows/lotto-buy.yml
vendored
11
.github/workflows/lotto-buy.yml
vendored
@@ -14,7 +14,17 @@ jobs:
|
||||
- name: 체크아웃
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: venv 캐시
|
||||
id: cache-venv
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: .venv
|
||||
key: venv-${{ runner.os }}-${{ hashFiles('lotto-runner/requirements.txt') }}
|
||||
restore-keys: |
|
||||
venv-${{ runner.os }}-
|
||||
|
||||
- name: Python 및 시스템 의존성 설치
|
||||
if: steps.cache-venv.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y \
|
||||
@@ -67,6 +77,7 @@ jobs:
|
||||
uses: browser-actions/setup-chrome@v1
|
||||
with:
|
||||
install-dependencies: true
|
||||
install-driver: true
|
||||
|
||||
- name: Chrome 확인
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user