Skip to content

Commit

Permalink
test: upgrades Python in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
marslanabdulrauf committed Feb 18, 2025
1 parent 6e0e09e commit 20083ae
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,22 @@ jobs:
- 6379:6379

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Apt install
run: cat Aptfile | sudo xargs apt-get install

- name: Install poetry
uses: snok/install-poetry@v1
with:
version: 1.5.1
version: 1.8.3
virtualenvs-create: true
virtualenvs-in-project: true

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.9.19"
python-version: "3.12.3"
cache: poetry

- name: Install dependencies
Expand Down Expand Up @@ -94,8 +94,8 @@ jobs:
YT_REFRESH_TOKEN: fake
YT_CLIENT_ID: fake
YT_CLIENT_SECRET: fakse # pragma: allowlist secret
YT_PROJECT_ID: fake
YT_PROJECT_ID: fake

- name: Upload coverage to CodeCov
uses: codecov/codecov-action@v3
with:
Expand All @@ -104,7 +104,7 @@ jobs:
javascript-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up NodeJS
uses: actions/setup-node@v2-beta
Expand All @@ -118,7 +118,7 @@ jobs:
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v1
- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand Down

0 comments on commit 20083ae

Please sign in to comment.