This repository was archived by the owner on Mar 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 - uses : actions/checkout@v2
1717 with :
1818 repository : microsoft/python-package-template
19- ref : ' dciborow/pyproject'
2019 path : pyproject
2120 clean : true
2221 - uses : actions/checkout@v3
@@ -41,16 +40,16 @@ jobs:
4140 pypi_custom_publish : false
4241
4342 # Test the action with all enabled steps.
44- - name : All Ops
45- uses : ./pyaction
46- with :
47- black : true
48- bandit : true
49- pylint : true
50- pyright : true
51- pytest : true
52- pypi_publish : true
53- pypi_repo : testpypi
54- pypi_password : ${{ secrets.TEST_PYPI_PASSWORD }}
55- root : pyproject
56- version_suffix : ' rc${{ github.run_number }}-dev${{ github.run_attempt }}'
43+ # - name: All Ops
44+ # uses: ./pyaction
45+ # with:
46+ # black: true
47+ # bandit: true
48+ # pylint: true
49+ # pyright: true
50+ # pytest: true
51+ # pypi_publish: true
52+ # pypi_repo: testpypi
53+ # pypi_password: ${{ secrets.TEST_PYPI_PASSWORD }}
54+ # root: pyproject
55+ # version_suffix: 'rc${{ github.run_number }}-dev${{ github.run_attempt }}'
Original file line number Diff line number Diff line change @@ -13,7 +13,11 @@ inputs:
1313 pyproject.toml location.
1414 Default pyproject.toml
1515 default : ' pyproject.toml'
16-
16+ python_version :
17+ description : |
18+ Python Version
19+ Default is '3.7'.
20+ default : ' 3.7'
1721 # Python Tooling
1822 black :
1923 description : |
@@ -142,7 +146,7 @@ runs:
142146 - if : ${{ inputs.pytest == 'true' || inputs.pypi_publish == 'true' }}
143147 uses : actions/setup-python@v1
144148 with :
145- python-version : ' 3.7 '
149+ python-version : ${{ inputs.python_version }}
146150 - if : ${{ inputs.pytest == 'true' }}
147151 run : |
148152 python -m pip install --upgrade pip
You can’t perform that action at this time.
0 commit comments