File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 description : Specific version to check
99 type : string
1010 allow-prereleases :
11- required : true
12- default : false
13- description : Include prereleases in the check
14- type : boolean
15-
11+ required : true
12+ default : false
13+ description : Include prereleases in the check
14+ type : boolean
1615
1716jobs :
1817 test_python_build :
2625 - name : Checkout code
2726 uses : actions/checkout@v4
2827 with :
28+ persist-credentials : false
2929 submodules : recursive
3030 - name : Test action with Python ${{ inputs.python-version }}
3131 id : build
3535 allow-build : info
3636 allow-prereleases : ${{ inputs.allow-prereleases }}
3737 - name : Check Python version
38- run : python ./.github/scripts/check_python_version.py ${{ inputs.python-version }}
38+ run : python ./.github/scripts/check_python_version.py ${{ inputs.python-version }}
Original file line number Diff line number Diff line change 44 schedule :
55 - cron : 0 0 * * *
66 workflow_dispatch :
7-
87
98jobs :
109 # Create strategy matrix with a python script
1716 - name : Checkout code
1817 uses : actions/checkout@v4
1918 with :
19+ persist-credentials : false
2020 submodules : recursive
2121 - name : Update pip
2222 run : python -m pip install --upgrade pip
2727 - name : Create matrix
2828 id : matrix
2929 run : python ./.github/scripts/create_python_matrix.py true
30-
30+
3131 # Test the action with all possible combinations of python versions and os
3232 test_action :
3333 needs : create_matrix
4040 - name : Checkout code
4141 uses : actions/checkout@v4
4242 with :
43+ persist-credentials : false
4344 submodules : recursive
4445 - name : Setup Python ${{ matrix.python-version }}
4546 uses : MatteoH2O1999/setup-python@v5
4849 allow-build : info
4950 cache-build : ${{ matrix.cache }}
5051 - name : Check Python version
51- run : python ./.github/scripts/check_python_version.py ${{ matrix.python-version }}
52+ run : python ./.github/scripts/check_python_version.py ${{ matrix.python-version }}
Original file line number Diff line number Diff line change 1010 update_tags :
1111 runs-on : ubuntu-latest
1212 name : Update version tags
13+ permissions :
14+ contents : write
1315 steps :
1416 - name : Update tags
1517 uses : actions/publish-action@v0.3.0
1618 with :
17- source-tag : ${{ github.event.release.tag_name }}
19+ source-tag : ${{ github.event.release.tag_name }}
Original file line number Diff line number Diff line change 2222 - name : Checkout code
2323 uses : actions/checkout@v4
2424 with :
25+ persist-credentials : false
2526 submodules : recursive
2627 - name : Update pip
2728 run : python -m pip install --upgrade pip
3233 - name : Create matrix
3334 id : matrix
3435 run : python ./.github/scripts/create_python_matrix.py false
35-
36+
3637 # Test the action with all possible combinations of python versions and os
3738 test_action :
3839 needs : create_matrix
@@ -45,11 +46,12 @@ jobs:
4546 - name : Checkout code
4647 uses : actions/checkout@v4
4748 with :
49+ persist-credentials : false
4850 submodules : recursive
4951 - name : Setup Python ${{ matrix.python-version }}
5052 uses : ./
5153 with :
5254 python-version : ${{ matrix.python-version }}
5355 allow-build : info
5456 - name : Check Python version
55- run : python ./.github/scripts/check_python_version.py ${{ matrix.python-version }}
57+ run : python ./.github/scripts/check_python_version.py ${{ matrix.python-version }}
You can’t perform that action at this time.
0 commit comments