💚 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: 체크아웃
|
- name: 체크아웃
|
||||||
uses: actions/checkout@v4
|
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 및 시스템 의존성 설치
|
- name: Python 및 시스템 의존성 설치
|
||||||
|
if: steps.cache-venv.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
@@ -67,6 +77,7 @@ jobs:
|
|||||||
uses: browser-actions/setup-chrome@v1
|
uses: browser-actions/setup-chrome@v1
|
||||||
with:
|
with:
|
||||||
install-dependencies: true
|
install-dependencies: true
|
||||||
|
install-driver: true
|
||||||
|
|
||||||
- name: Chrome 확인
|
- name: Chrome 확인
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user