Skip to content

Commit 527718c

Browse files
committed
Merge branch 'master' into update_python_version_support
2 parents 46d0916 + 455f162 commit 527718c

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ jobs:
1515
install_extras: ['tests', 'plotting,fancy_progressbar,tests', 'plotting,bloch_sphere_visualization,fancy_progressbar,doc,tests']
1616

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 }}
24+
cache: pip
25+
check-latest: true
2426

2527
- name: Install
2628
run: |
@@ -32,12 +34,14 @@ jobs:
3234
pytest
3335
3436
- name: Upload coverage to Codecov
35-
uses: codecov/codecov-action@v1
37+
uses: codecov/codecov-action@v4
3638
with:
3739
file: ./coverage.xml
3840
name: ${{ matrix.python }} - ${{ matrix.install_extras }}
3941
env_vars: OS,PYTHON
4042
fail_ci_if_error: true
43+
token: ${{ secrets.CODECOV_TOKEN }} # required
44+
verbose: true
4145

4246
release:
4347
name: Publish to PyPi
@@ -46,11 +50,12 @@ jobs:
4650
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
4751

4852
steps:
49-
- uses: actions/checkout@v2
53+
- uses: actions/checkout@v4
5054

51-
- uses: actions/setup-python@v2
55+
- uses: actions/setup-python@v5
5256
with:
5357
python-version: 3.10
58+
cache: pip
5459

5560
- name: Install dependencies
5661
run: |

0 commit comments

Comments
 (0)