File tree Expand file tree Collapse file tree 5 files changed +21
-5
lines changed Expand file tree Collapse file tree 5 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 11name : Lighthouse
2+ permissions :
3+ contents : read
24on : [push, pull_request]
35jobs :
46 CI :
57 runs-on : ubuntu-latest
68 steps :
79 - uses : actions/checkout@v1
10+ with :
11+ persist-credentials : false
812
913 - name : Set up Python 3.7
1014 uses : actions/setup-python@v1
2226 make html
2327
2428 - name : Run Lighthouse against example docs build
25- uses : treosh/lighthouse-ci-action@v2
29+ uses : treosh/lighthouse-ci-action@005e1277a8a17ea0b0ef6c3332d59a7cd0f730ce # v2
2630 with :
2731 configPath : " ./lighthouserc.json"
2832 temporaryPublicStorage : true
Original file line number Diff line number Diff line change 11name : Linting
2+ permissions :
3+ contents : read
24
35on :
46 push :
1214 runs-on : ubuntu-latest
1315 steps :
1416 - uses : actions/checkout@v2
17+ with :
18+ persist-credentials : false
1519 - uses : actions/setup-python@v2
16- - uses : pre-commit/action@v2.0.0
20+ - uses : pre-commit/action@0764670bf370aab253130d534e1eda7ff497dc60 # v2.0.0
Original file line number Diff line number Diff line change 11name : Push to PyPI
2+ permissions :
3+ contents : read
24
35on :
46 push :
810jobs :
911 publish :
1012 runs-on : ubuntu-latest
11-
13+ permissions :
14+ id-token : write
15+ attestations : write
16+ contents : read
1217 steps :
1318 - name : Checkout
1419 uses : actions/checkout@v1
20+ with :
21+ persist-credentials : false
1522
1623 - name : Set up Python 3.7
1724 uses : actions/setup-python@v1
2936 python setup.py sdist bdist_wheel
3037
3138 - name : Publish mpl-sphinx-theme
32- uses : pypa/gh-action-pypi-publish@master
39+ uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
3340 with :
3441 user : __token__
3542 password : ${{ secrets.pypi_token }}
Original file line number Diff line number Diff line change 55 name : Run CircleCI artifacts redirector
66 steps :
77 - name : GitHub Action step
8- uses : larsoner /circleci-artifacts-redirector-action@master
8+ uses : scientific-python /circleci-artifacts-redirector-action@7eafdb60666f57706a5525a2f5eb76224dc8779b # v1.1.0
99 with :
1010 repo-token : ${{ secrets.GITHUB_TOKEN }}
1111 artifact-path : 0/docs/_build/html/index.html
Original file line number Diff line number Diff line change 11/mpl_sphinx_theme.egg-info /
22/mpl_sphinx_theme /__pycache__ /
33build
4+ dist
You can’t perform that action at this time.
0 commit comments