11name : build
2- on : [push, pull_request, workflow_dispatch]
2+ on :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+ branches :
8+ - main
9+
10+ permissions : {}
11+
312jobs :
413 lint :
514 name : lint
615 runs-on : ubuntu-latest
716 steps :
8- - uses : actions/checkout@v4
9- - uses : actions/setup-python@v5
17+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+ with :
19+ persist-credentials : false
20+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
21+ with :
22+ python-version : 3.14
1023 - run : python -m pip install --upgrade pip wheel tox
1124 - run : tox -eflake8
1225 - run : tox -edocs
1932 fail-fast : false
2033 runs-on : ${{ matrix.os }}
2134 steps :
22- - uses : actions/checkout@v4
23- - uses : actions/setup-python@v5
35+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
36+ with :
37+ persist-credentials : false
38+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2439 with :
2540 python-version : ${{ matrix.python }}
2641 - run : python -m pip install --upgrade pip wheel tox
@@ -29,11 +44,15 @@ jobs:
2944 name : coverage
3045 runs-on : ubuntu-latest
3146 steps :
32- - uses : actions/checkout@v4
33- - uses : actions/setup-python@v5
47+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
48+ with :
49+ persist-credentials : false
50+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
51+ with :
52+ python-version : 3.14
3453 - run : python -m pip install --upgrade pip wheel tox
3554 - run : tox
36- - uses : codecov/codecov-action@v3
55+ - uses : codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
3756 with :
3857 files : ./coverage.xml
3958 fail_ci_if_error : true
0 commit comments