diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 6bf0e48..7db474c 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -12,15 +12,16 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up Python 3.10 - uses: actions/setup-python@v4 - with: - python-version: '3.10' + - uses: actions/checkout@v4 - name: Install poetry uses: abatilo/actions-poetry@v2.0.0 with: poetry-version: 1.4.2 + - name: Set up Python 3.10 + uses: actions/setup-python@v5 + with: + python-version: '3.10' + cache: 'poetry' - name: Install dependencies run: | poetry config virtualenvs.create false @@ -35,4 +36,4 @@ jobs: DISCOVER_WEEKLY_PLAYLIST_ID: ${{ secrets.DISCOVER_WEEKLY_PLAYLIST_ID }} ALL_DISCOVERED_PLAYLIST_ID: ${{ secrets.ALL_DISCOVERED_PLAYLIST_ID }} run: | - python discovered_weekly.py + poetry run python discovered_weekly.py