Skip to content

Commit

Permalink
Upgrade GitHub Actions used in CI to latest versions (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Sep 13, 2022
1 parent 8f6232d commit 005337a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ jobs:

steps:
- name: Checkout PyWavelets
uses: actions/checkout@v1
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version}}

Expand Down Expand Up @@ -177,10 +177,10 @@ jobs:

steps:
- name: Checkout PyWavelets
uses: actions/checkout@v1
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version}}

Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/wheel_tests_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
cibw_manylinux: [ manylinux2014 ]
cibw_arch: [ "x86_64"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.9'
Expand All @@ -43,7 +43,7 @@ jobs:
CIBW_SKIP: "*-musllinux_*"
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.cibw_manylinux }}
CIBW_MANYLINUX_I686_IMAGE: "manylinux2010"
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: wheels
path: ./dist/*.whl
Expand All @@ -58,10 +58,10 @@ jobs:
cibw_python: [ "cp38-*" , "cp39-*", "cp310-*", "cp311-*"]
cibw_manylinux: [ manylinux2014 ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.9'
Expand All @@ -80,7 +80,7 @@ jobs:
CIBW_ARCHS_LINUX: aarch64
CIBW_SKIP: "*-musllinux_*"
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.cibw_manylinux }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: wheels
path: ./dist/*.whl
Expand All @@ -97,11 +97,11 @@ jobs:
env:
MACOSX_DEPLOYMENT_TARGET: "10.13"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.9'
Expand All @@ -124,7 +124,7 @@ jobs:
# CXXFLAGS: "-I/usr/local/opt/libomp/include"
# LDFLAGS: "-Wl,-rpath,/usr/local/opt/libomp/lib -L/usr/local/opt/libomp/lib -lomp"

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: wheels
path: ./dist/*.whl
Expand All @@ -143,11 +143,11 @@ jobs:
# cibw_python: "cp310-*"
# cibw_arch: x86
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.9'
Expand All @@ -164,7 +164,7 @@ jobs:
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
CIBW_MANYLINUX_I686_IMAGE: manylinux1

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: wheels
path: ./dist/*.whl
Expand All @@ -175,10 +175,10 @@ jobs:
if: github.repository_owner == 'PyWavelets' && startsWith(github.ref, 'refs/tags/v') && always()
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.9'
Expand All @@ -189,7 +189,7 @@ jobs:
pip install twine
pip install "cython<3" numpy
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
id: download
with:
name: wheels
Expand Down

0 comments on commit 005337a

Please sign in to comment.