Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
sco1 committed Jun 1, 2022
1 parent f96dd50 commit 9d3b22d
Show file tree
Hide file tree
Showing 4 changed files with 178 additions and 182 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/lint_test.yml
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: '3.x'

Expand All @@ -39,9 +39,9 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -54,7 +54,7 @@ jobs:
run: tox

- name: Cache coverage for ${{ matrix.python-version }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: cov_py${{ matrix.python-version }}
path: .coverage
Expand All @@ -64,14 +64,14 @@ jobs:
needs: test

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: '3.x'

- name: Pull coverage workflow artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
path: cov_cache/

Expand All @@ -86,7 +86,7 @@ jobs:
coverage html
- name: Publish cov HTML
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
path: htmlcov/
name: cov_report_html
6 changes: 3 additions & 3 deletions .github/workflows/pypi_release.yml
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: '3.x'

Expand All @@ -23,7 +23,7 @@ jobs:
poetry build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1.4
uses: pypa/gh-action-pypi-publish@release/v1.5
with:
user: __token__
password: ${{ secrets.pypi_api_token }}

0 comments on commit 9d3b22d

Please sign in to comment.