Skip to content

Commit

Permalink
Bump a few action versions (#222)
Browse files Browse the repository at this point in the history
* Bump a few action versions

* Update tests.yml

* Update deploy_docs.yml

* Update tests.yml

* Update coverage-lint.yml

* Update tests.yml
  • Loading branch information
ajfriend authored Apr 11, 2022
1 parent 2b9b6ec commit ef3f8f4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/coverage-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2.3.3
- uses: actions/checkout@v3
with:
submodules: recursive

- uses: actions/setup-python@v2
- uses: actions/setup-python@v3.1.1
with:
python-version: 3.8

Expand All @@ -37,7 +37,7 @@ jobs:
run: pytest --cov=h3 --full-trace --cov-report=xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.0.13
uses: codecov/codecov-action@v3.0.0
with:
file: ./coverage.xml
fail_ci_if_error: true
6 changes: 3 additions & 3 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2.3.3
- uses: actions/checkout@v3
with:
submodules: recursive

- uses: actions/setup-python@v2
- uses: actions/setup-python@v3.1.1
with:
python-version: 3.8

Expand All @@ -39,7 +39,7 @@ jobs:
# Deploy the book's HTML to gh-pages branch
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3.6.1
uses: peaceiris/actions-gh-pages@v3.7.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, "3.10"]
python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10']
exclude:
- os: windows-latest
python-version: 2.7
- os: windows-latest
python-version: 3.5

steps:
- uses: actions/checkout@v2.3.3
- uses: actions/checkout@v3
with:
submodules: recursive

- uses: actions/setup-python@v2
- uses: actions/setup-python@v3.1.1
with:
python-version: "${{ matrix.python-version }}"

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest

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

Expand All @@ -24,7 +24,7 @@ jobs:
pipx run build --sdist
- name: Upload artifacts to GitHub
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
path: ./dist

Expand All @@ -43,7 +43,7 @@ jobs:
name: Linux Intel 64-bit

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

Expand All @@ -61,7 +61,7 @@ jobs:
pipx run twine check wheelhouse/*
- name: Upload artifacts to GitHub
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
path: wheelhouse/*.whl

Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
name: Linux Aarch64 3.9

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

Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
pipx run twine check wheelhouse/*
- name: Upload artifacts to GitHub
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
path: wheelhouse/*.whl

Expand All @@ -141,11 +141,11 @@ jobs:
if: github.event_name == 'release' && github.event.action == 'published'

steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@v1.4.2
- uses: pypa/gh-action-pypi-publish@v1.5.0
with:
password: ${{ secrets.pypi_password }}

0 comments on commit ef3f8f4

Please sign in to comment.