From e11ab2b63336f74ce944b1cdb03e3d845b0fc98c Mon Sep 17 00:00:00 2001 From: hyeonggil <> Date: Sun, 15 Mar 2026 15:44:45 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20ci-fix:=20actions/setup-python?= =?UTF-8?q?=20=EC=A0=9C=EA=B1=B0=20=ED=9B=84=20venv=EB=A1=9C=20=EC=9D=98?= =?UTF-8?q?=EC=A1=B4=EC=84=B1=20=EC=84=A4=EC=B9=98=20=EB=B0=A9=EC=8B=9D=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/lotto-buy.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lotto-buy.yml b/.github/workflows/lotto-buy.yml index 3b6c11f..5657ae4 100644 --- a/.github/workflows/lotto-buy.yml +++ b/.github/workflows/lotto-buy.yml @@ -12,14 +12,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Python 설정 - uses: actions/setup-python@v5 - with: - python-version: '3.x' - cache: 'pip' - - name: 의존성 설치 - run: pip install -r requirements.txt + run: | + python3 -m venv .venv + .venv/bin/pip install -r requirements.txt - name: Chrome 설치 uses: browser-actions/setup-chrome@v1 @@ -28,4 +24,4 @@ jobs: env: LOTTO_USER_ID: ${{ secrets.LOTTO_USER_ID }} LOTTO_USER_PW: ${{ secrets.LOTTO_USER_PW }} - run: python3 lotto_auto_buy.py + run: .venv/bin/python3 lotto_auto_buy.py