mirror of
https://github.com/sprockets/sprockets-statsd.git
synced 2024-12-25 03:00:22 +00:00
Update run-tests.yml
Update action versions
This commit is contained in:
parent
81128b8d54
commit
85f3346ed2
1 changed files with 4 additions and 4 deletions
8
.github/workflows/run-tests.yml
vendored
8
.github/workflows/run-tests.yml
vendored
|
@ -14,9 +14,9 @@ jobs:
|
|||
matrix:
|
||||
python-version: [3.8, 3.9, 3.11]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
|
@ -42,7 +42,7 @@ jobs:
|
|||
coverage report
|
||||
coverage xml -o ./coverage.xml
|
||||
- name: Send coverage to codecov.io
|
||||
uses: codecov/codecov-action@v1.3.2
|
||||
uses: codecov/codecov-action@v3.1.4
|
||||
with:
|
||||
token: ${{secrets.CODECOV_TOKEN}}
|
||||
file: ./coverage.xml
|
||||
|
@ -50,7 +50,7 @@ jobs:
|
|||
fail_ci_if_error: true
|
||||
- name: Save coverage report
|
||||
if: ${{ matrix.python-version == '3.9' }}
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: coverage.xml
|
||||
path: ./coverage.xml
|
||||
|
|
Loading…
Reference in a new issue