Skip to content

Commit

Permalink
ci - upgrade github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Dees committed Jan 20, 2023
1 parent bb87abd commit 4803f5f
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Run lint
Expand All @@ -28,17 +28,17 @@ jobs:
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
if: runner.os != 'Windows' # see issue #174
with:
python-version: 2.7
- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: 3.5
- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: 3.9
# - name: Install Visual C++ for Python 2.7
Expand All @@ -58,16 +58,16 @@ jobs:
package-sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Build source package
run: python setup.py sdist
- name: Upload source package
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: sdist
path: dist/
Expand All @@ -85,10 +85,10 @@ jobs:
os: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4

- name: Install cibuildwheel
run: python -m pip install cibuildwheel
Expand All @@ -97,7 +97,7 @@ jobs:
# run: choco install vcpython27 -f -y
- name: Install QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2
with:
platforms: all

Expand All @@ -114,7 +114,7 @@ jobs:
CIBW_BUILD: cp27-${{ matrix.name }}* cp35-${{ matrix.name }}* pp*-${{ matrix.name }}*
CIBW_ARCHS_LINUX: auto aarch64
CIBW_BEFORE_BUILD_LINUX: yum install -y libffi-devel
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: wheels-${{ matrix.name }}
path: ./wheelhouse/*.whl
Expand All @@ -123,20 +123,20 @@ jobs:
runs-on: ubuntu-latest
needs: [lint, test, package-sdist, package-wheel]
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v1
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: sdist
path: dist/
- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v3
with:
name: wheels-win
path: dist/
- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v3
with:
name: wheels-macos
path: dist/
- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v3
with:
name: wheels-manylinux
path: dist/
Expand Down

0 comments on commit 4803f5f

Please sign in to comment.