Skip to content

Commit

Permalink
Fix GitHub Actions tests for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
chosak committed Jul 5, 2024
1 parent 5e7b3eb commit 89e1640
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- uses: actions/cache@v3
uses: actions/checkout@v4
- uses: actions/cache@v4
name: Configure npm caching
with:
path: ~/.npm
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: "3.10"
- uses: actions/cache@v2
python-version: "3.12"
- name: Install packages to support building lxml from source
run: apt-get install python3.12-dev libxml2-dev libxslt-dev
- uses: actions/cache@v4
name: Configure pip caching
with:
path: ~/.cache/pip
Expand Down

0 comments on commit 89e1640

Please sign in to comment.