@@ -9,14 +9,19 @@ on: [push, pull_request]
99env :
1010 FORCE_COLOR : 1
1111
12+ permissions :
13+ contents : read
14+
1215jobs :
1316 lint :
1417 name : Lint
1518 runs-on : ubuntu-latest
1619
1720 steps :
18- - uses : actions/checkout@v4
19- - uses : actions/setup-python@v5
21+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
22+ with :
23+ persist-credentials : false
24+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
2025 with :
2126 python-version : " 3.x"
2227
3338 os : [Ubuntu, macOS, Windows]
3439
3540 steps :
36- - uses : actions/checkout@v4
37- - uses : actions/setup-python@v5
41+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
42+ with :
43+ persist-credentials : false
44+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
3845 with :
3946 python-version : ${{ matrix.python-version }}-dev
4047 cache : pip
@@ -53,14 +60,16 @@ jobs:
5360 if : ${{ startsWith(github.ref, 'refs/tags/') }}
5461
5562 steps :
56- - uses : actions/checkout@v4
57- - uses : actions/setup-python@v5
63+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
64+ with :
65+ persist-credentials : false
66+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
5867 with :
59- python-version : " 3.12 "
68+ python-version : " 3.13 "
6069
6170 - run : |
62- pip install build
71+ python -m pip install -r .github/workflows/publish-requirements.txt
6372 python -m build
6473
6574 - name : Publish package distributions to PyPI
66- uses : pypa/gh-action-pypi-publish@release/v1
75+ uses : pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1
0 commit comments