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 1
1
name : Lighthouse
2
+ permissions :
3
+ contents : read
2
4
on : [push, pull_request]
3
5
jobs :
4
6
CI :
5
7
runs-on : ubuntu-latest
6
8
steps :
7
9
- uses : actions/checkout@v1
10
+ with :
11
+ persist-credentials : false
8
12
9
13
- name : Set up Python 3.7
10
14
uses : actions/setup-python@v1
22
26
make html
23
27
24
28
- name : Run Lighthouse against example docs build
25
- uses : treosh/lighthouse-ci-action@v2
29
+ uses : treosh/lighthouse-ci-action@005e1277a8a17ea0b0ef6c3332d59a7cd0f730ce # v2
26
30
with :
27
31
configPath : " ./lighthouserc.json"
28
32
temporaryPublicStorage : true
Original file line number Diff line number Diff line change 1
1
name : Linting
2
+ permissions :
3
+ contents : read
2
4
3
5
on :
4
6
push :
12
14
runs-on : ubuntu-latest
13
15
steps :
14
16
- uses : actions/checkout@v2
17
+ with :
18
+ persist-credentials : false
15
19
- uses : actions/setup-python@v2
16
- -
uses :
pre-commit/[email protected]
20
+ - uses : pre-commit/action@0764670bf370aab253130d534e1eda7ff497dc60 # v2.0.0
Original file line number Diff line number Diff line change 1
1
name : Push to PyPI
2
+ permissions :
3
+ contents : read
2
4
3
5
on :
4
6
push :
8
10
jobs :
9
11
publish :
10
12
runs-on : ubuntu-latest
11
-
13
+ permissions :
14
+ id-token : write
15
+ attestations : write
16
+ contents : read
12
17
steps :
13
18
- name : Checkout
14
19
uses : actions/checkout@v1
20
+ with :
21
+ persist-credentials : false
15
22
16
23
- name : Set up Python 3.7
17
24
uses : actions/setup-python@v1
29
36
python setup.py sdist bdist_wheel
30
37
31
38
- name : Publish mpl-sphinx-theme
32
- uses : pypa/gh-action-pypi-publish@master
39
+ uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
33
40
with :
34
41
user : __token__
35
42
password : ${{ secrets.pypi_token }}
Original file line number Diff line number Diff line change 5
5
name : Run CircleCI artifacts redirector
6
6
steps :
7
7
- name : GitHub Action step
8
- uses : larsoner /circleci-artifacts-redirector-action@master
8
+ uses : scientific-python /circleci-artifacts-redirector-action@7eafdb60666f57706a5525a2f5eb76224dc8779b # v1.1.0
9
9
with :
10
10
repo-token : ${{ secrets.GITHUB_TOKEN }}
11
11
artifact-path : 0/docs/_build/html/index.html
Original file line number Diff line number Diff line change 1
1
/mpl_sphinx_theme.egg-info /
2
2
/mpl_sphinx_theme /__pycache__ /
3
3
build
4
+ dist
You can’t perform that action at this time.
0 commit comments