Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/github_actions/actions/upload-a…
Browse files Browse the repository at this point in the history
…rtifact-4
  • Loading branch information
martin-majlis authored Feb 23, 2024
2 parents e575c12 + 442837b commit a14cbd5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
python: ["3.8", "3.9", "3.10", "3.11"]

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

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: ${{ matrix.python }}
Expand Down Expand Up @@ -53,15 +53,15 @@ jobs:
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/Wikipedia*.whl
# name: wheel-${{ matrix.os }}-${{ matrix.python }}.whl
name: wikipedia-api-${{ matrix.os }}-${{ matrix.python }}.whl

build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: ${{ matrix.python }}
Expand All @@ -72,7 +72,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
path: dist/Wikipedia*.tar.gz
# name: sdist.tar.gz
name: wikipedia-api-sdist.tar.gz

upload_pypi:
needs: [build_wheels, build_sdist]
Expand All @@ -82,9 +82,9 @@ jobs:
# alternatively, to publish when a GitHub Release is created, use the following rule:
# if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: artifact
name: wikipedia-api-*
path: dist

- uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install Tox and any other packages
Expand Down
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
black==24.2.0
coverage==7.4.2
flake8==7.0.0
isort==5.12.0
mypy==1.4.1
isort==5.13.2
mypy==1.8.0
pre-commit==3.3
pygments==2.17.2
sphinx==7.0.1
tox==4.6.3
tox==4.13.0
types-requests==2.31.0
types-setuptools==69.1.0.20240223

0 comments on commit a14cbd5

Please sign in to comment.