Skip to content

Commit

Permalink
Update actions (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmaork authored Jul 18, 2023
1 parent 8bc176c commit 96c1b82
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# git needed for checkout
# patchelf needed for auditwheel
run: apk add gcc musl-dev git patchelf
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- name: Install dependencies
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Audit wheel
run: auditwheel repair .tox/.pkg/dist/*.whl -w audited_wheels
- name: Upload wheel
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: dist
path: audited_wheels/*
Expand All @@ -54,7 +54,7 @@ jobs:
matrix:
python-version: [cp37-cp37m, cp38-cp38, cp39-cp39, cp310-cp310, cp311-cp311]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python
Expand All @@ -68,7 +68,7 @@ jobs:
- name: Audit wheel
run: auditwheel repair .tox/.pkg/dist/*.whl -w audited_wheels
- name: Upload wheel
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: dist
path: audited_wheels/*
Expand All @@ -81,11 +81,11 @@ jobs:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
arch: [x86, x64]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.arch }}
Expand All @@ -94,7 +94,7 @@ jobs:
- name: Test with tox
run: python -m tox
- name: Upload wheel
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: dist
path: .tox/.pkg/dist/*
Expand All @@ -106,19 +106,19 @@ jobs:
matrix:
python-version: [ "3.11" ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install tox==4.6.3
- name: Test with tox
run: sudo python -m tox -e sdist
- name: Upload dist
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: dist
path: .tox/.pkg/dist/*
Expand Down

0 comments on commit 96c1b82

Please sign in to comment.