File tree 2 files changed +16
-15
lines changed
2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 8
8
publish :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2
11
+ - uses : actions/checkout@v3
12
12
13
13
- name : Set up Python
14
- uses : actions/setup-python@v1
14
+ uses : actions/setup-python@v4
15
+ with :
16
+ python-version : " 3.x"
15
17
16
18
- name : Python info
17
19
run : |
25
27
run : python setup.py sdist bdist_wheel
26
28
27
29
- name : Publish the package
28
- uses : pypa/gh-action-pypi-publish@master
30
+ uses : pypa/gh-action-pypi-publish@release/v1
29
31
with :
30
32
user : __token__
31
33
password : ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change 9
9
- master
10
10
pull_request :
11
11
12
+ concurrency :
13
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
14
+ cancel-in-progress : true
15
+
12
16
jobs :
13
17
build :
14
18
name : ${{ matrix.os }} (py ${{ matrix.python-version }}${{ matrix.special }})
@@ -28,15 +32,10 @@ jobs:
28
32
python-version : " 3.10"
29
33
30
34
steps :
31
- - name : Cancel Previous Runs
32
-
33
- with :
34
- access_token : ${{ github.token }}
35
-
36
- - uses : actions/checkout@v2
35
+ - uses : actions/checkout@v3
37
36
38
37
- name : Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
39
- uses : actions/setup-python@v2
38
+ uses : actions/setup-python@v4
40
39
with :
41
40
python-version : ${{ matrix.python-version }}
42
41
@@ -71,20 +70,20 @@ jobs:
71
70
esac
72
71
73
72
- name : Run codecov
74
- uses : codecov/codecov-action@v2
73
+ uses : codecov/codecov-action@v3
75
74
with :
76
75
file : ./coverage.xml
77
76
name : codecov-umbrella
78
77
79
78
Linting :
80
79
runs-on : ubuntu-latest
81
80
steps :
82
- - uses : actions/checkout@v2
81
+ - uses : actions/checkout@v3
83
82
84
- - name : Set up Python 3.10 on ubuntu-latest
85
- uses : actions/setup-python@v2
83
+ - name : Set up Python on ubuntu-latest
84
+ uses : actions/setup-python@v4
86
85
with :
87
- python-version : " 3.10 "
86
+ python-version : " 3.x "
88
87
89
88
- name : Install linters
90
89
run : |
You can’t perform that action at this time.
0 commit comments