File tree Expand file tree Collapse file tree 3 files changed +17
-12
lines changed Expand file tree Collapse file tree 3 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 44 push :
55 pull_request :
66
7+ concurrency :
8+ group : ${{ github.workflow }}-${{ github.ref }}
9+ cancel-in-progress : true
10+
711jobs :
812 build :
913 runs-on : ${{ matrix.os }}
1014 defaults :
1115 run :
1216 shell : bash
1317 strategy :
18+ fail-fast : false
1419 matrix :
15- os : [ubuntu-latest]
16- python-version : [3.7 ]
20+ os : [ubuntu-latest]
21+ python-version : ["3.9", "3.12" ]
1722 steps :
18- - uses : actions/checkout@v2
23+ - uses : actions/checkout@v4
1924
2025 - name : Set up Python ${{ matrix.python-version }}
21- uses : actions/setup-python@v2
26+ uses : actions/setup-python@v5
2227 with :
2328 python-version : ${{ matrix.python-version }}
2429
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ jobs:
1313 strategy :
1414 matrix :
1515 os : [ubuntu-latest]
16- python-version : [3.7 ]
16+ python-version : [3.11 ]
1717 steps :
18- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v4
1919
2020 - name : Set up Python ${{ matrix.python-version }}
21- uses : actions/setup-python@v2
21+ uses : actions/setup-python@v5
2222 with :
2323 python-version : ${{ matrix.python-version }}
2424
Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99
1010 steps :
11- - uses : actions/checkout@master
11+ - uses : actions/checkout@v4
1212 with :
1313 fetch-depth : 0
14- - name : Set up Python 3.7
15- uses : actions/setup-python@v1
14+ - name : Set up Python 3.11
15+ uses : actions/setup-python@v5
1616 with :
17- python-version : 3.7
17+ python-version : " 3.11 "
1818 - name : Install pypa/build
1919 run : >-
2020 python -m
3030 .
3131 - name : Publish distribution to PyPI
3232 if : startsWith(github.ref, 'refs/tags')
33- uses : pypa/gh-action-pypi-publish@master
33+ uses : pypa/gh-action-pypi-publish@release/v1
3434 with :
3535 password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments