diff --git a/.github/workflows/lotto-buy.yml b/.github/workflows/lotto-buy.yml index 169ac88..90e96ac 100644 --- a/.github/workflows/lotto-buy.yml +++ b/.github/workflows/lotto-buy.yml @@ -12,11 +12,14 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Python 및 의존성 설치 - run: | - apt-get update -qq - apt-get install -y python3 python3-pip python3-venv - pip3 install -r requirements.txt + - name: Python 설정 + uses: actions/setup-python@v5 + with: + python-version: '3.11' + cache: 'pip' + + - name: 의존성 설치 + run: pip install -r requirements.txt - name: Chrome 설치 uses: browser-actions/setup-chrome@v1