Skip to content

Commit 86468b8

Browse files
committed
Actions version update
1 parent 91ee164 commit 86468b8

File tree

2 files changed

+29
-24
lines changed

2 files changed

+29
-24
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
deploy:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v3
2626

2727
- name: Generate versions
28-
uses: HardNorth/github-version-generate@v1.1.2
28+
uses: HardNorth/github-version-generate@v1
2929
with:
3030
version-source: file
3131
version-file: ${{ env.VERSION_FILE }}
@@ -45,7 +45,7 @@ jobs:
4545
git push --tags
4646
4747
- name: Set up Python
48-
uses: actions/setup-python@v2
48+
uses: actions/setup-python@v4
4949
with:
5050
python-version: '3.6'
5151

.github/workflows/tests.yml

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,35 @@
11
name: Tests
22

3-
on: [push, pull_request]
3+
on: [ push, pull_request ]
44

55
jobs:
66
build:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: [2.7, 3.6, 3.7, 3.8, 3.9, '3.10']
10+
python-version: [ 2.7, 3.6, 3.7, 3.8, 3.9, '3.10' ]
1111
steps:
12-
- uses: actions/checkout@v2
13-
- name: Set up Python ${{ matrix.python-version }}
14-
uses: actions/setup-python@v2
15-
with:
16-
python-version: ${{ matrix.python-version }}
17-
- name: Install dependencies
18-
run: |
19-
python -m pip install --upgrade pip
20-
pip install tox tox-gh-actions
21-
- name: Test with tox
22-
run: tox
23-
- name: Upload coverage to Codecov
24-
if: matrix.python-version == 3.6 && success()
25-
uses: codecov/codecov-action@v1
26-
with:
27-
files: coverage.xml
28-
flags: unittests
29-
name: codecov-client-reportportal
30-
path_to_write_report: codecov_report.txt
12+
- name: Checkout repository
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install tox tox-gh-actions
24+
25+
- name: Test with tox
26+
run: tox
27+
28+
- name: Upload coverage to Codecov
29+
if: matrix.python-version == 3.6 && success()
30+
uses: codecov/codecov-action@v1
31+
with:
32+
files: coverage.xml
33+
flags: unittests
34+
name: codecov-client-reportportal
35+
path_to_write_report: codecov_report.txt

0 commit comments

Comments
 (0)