File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 11name : mplfinance Checks
2+ permissions :
3+ contents : read
24on : [ workflow_dispatch, pull_request ]
35jobs :
46 Regression_Tests :
Original file line number Diff line number Diff line change 11name : Upload Mplfinance to PyPI
2+ permissions :
3+ contents : read
24
35on :
46 workflow_dispatch :
1012
1113jobs :
1214 build_and_deploy :
15+ permissions :
16+ id-token : write
17+ attestations : write
18+ contents : read
1319 runs-on : ubuntu-latest
1420 steps :
1521 - name : Checkout Repository
1824 ref : ${{ github.event.inputs.tag }}
1925 persist-credentials : false
2026
21- - name : Display Coded Version
27+ - name : Display Coded Version
2228 # run: git show ${{ github.sha }}:src/mplfinance/_version.py
2329 run : egrep 'version_info .*=' src/mplfinance/_version.py
2430
3238 python -m pip install --upgrade pip
3339 pip install setuptools wheel twine
3440
35- - name : Build
41+ - name : Build
3642 run : |
3743 python setup.py sdist bdist_wheel
3844 ls -l dist/*
Original file line number Diff line number Diff line change 11name : Upload Mplfinance to TestPyPI
2+ permissions :
3+ contents : read
24
35on :
46 workflow_dispatch :
@@ -12,13 +14,17 @@ jobs:
1214 build_and_deploy :
1315 runs-on : ubuntu-latest
1416 steps :
17+ permissions :
18+ id-token : write
19+ attestations : write
20+ contents : read
1521 - name : Checkout Repository
1622 uses : actions/checkout@v3
1723 with :
1824 ref : ${{ github.event.inputs.tag }}
1925 persist-credentials : false
2026
21- - name : Display Coded Version
27+ - name : Display Coded Version
2228 # run: git show ${{ github.sha }}:src/mplfinance/_version.py
2329 run : egrep 'version_info .*=' src/mplfinance/_version.py
2430
3238 python -m pip install --upgrade pip
3339 pip install setuptools wheel twine
3440
35- - name : Build
41+ - name : Build
3642 run : |
3743 python setup.py sdist bdist_wheel
3844 ls -l dist/*
You can’t perform that action at this time.
0 commit comments