Skip to content

Commit

Permalink
Bump workflow actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoodsend committed Jan 1, 2024
1 parent 038f540 commit df623a6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
architecture: x86
steps:

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

- uses: actions/setup-python@v1
- uses: actions/setup-python@v5
with:
python-version: 3.9
architecture: ${{ matrix.architecture }}
Expand Down Expand Up @@ -60,9 +60,9 @@ jobs:
rm $OLD_WHEEL
- name: Upload wheel(s) as build artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: wheels
name: wheels-${{ matrix.os }}-${{ matrix.architecture }}
path: dist/*.whl

- name: Test Wheel
Expand All @@ -86,8 +86,9 @@ jobs:
]
steps:

- uses: actions/checkout@v2
- uses: crazy-max/ghaction-docker-buildx@v3.3.0
- uses: actions/checkout@v4
- run: sudo apt-get update && sudo apt-get install -y qemu-user-static
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes

- name: Build docker image
run: |
Expand All @@ -102,9 +103,9 @@ jobs:
"
- name: Upload wheel(s) as build artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: wheels
name: wheels-${{ matrix.base }}
path: dist/*.whl

- name: Install and test wheel
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:

steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ FROM quay.io/pypa/${BASE}
# Choosing a Python version is done just by prepending its bin dir to PATH.
ENV PATH=/opt/python/cp39-cp39/bin:$PATH
# Install dependencies. Do this before COPY to encourage caching.
RUN pip install --prefer-binary wheel auditwheel sloth-speedtest numpy
RUN pip install --prefer-binary wheel auditwheel sloth-speedtest numpy toml
# Copy across this repo.
COPY . /io
# Set the repo's root as the cwd.
Expand Down

0 comments on commit df623a6

Please sign in to comment.