Skip to content

Commit

Permalink
Upgrade GitHub Actions (#767)
Browse files Browse the repository at this point in the history
New versions use Node 16.
  • Loading branch information
adamchainz committed May 13, 2022
1 parent 4db4824 commit e51c025
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
- '3.10'

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

- uses: actions/setup-python@v2
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: pip
Expand All @@ -41,7 +41,7 @@ jobs:
run: tox --py current

- name: Upload coverage data
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: coverage-data
path: '.coverage.*'
Expand All @@ -51,17 +51,17 @@ jobs:
runs-on: ubuntu-20.04
needs: tests
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-python@v2
- uses: actions/setup-python@v3
with:
python-version: '3.10'

- name: Install dependencies
run: python -m pip install --upgrade coverage[toml]

- name: Download data
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: coverage-data

Expand All @@ -73,7 +73,7 @@ jobs:
- name: Upload HTML report
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: html-report
path: htmlcov

0 comments on commit e51c025

Please sign in to comment.