@@ -52,16 +52,16 @@ jobs:
5252
5353 runs-on : ${{ matrix.os }}-latest
5454 steps :
55- - uses : actions/checkout@v4
55+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5656
5757 - name : set up python
58- uses : actions/setup-python@v4
58+ uses : actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
5959 with :
6060 python-version : ' 3.11'
6161 architecture : ${{ matrix.python-architecture || 'x64' }}
6262
6363 - name : build wheels
64- uses : PyO3/maturin-action@v1
64+ uses : PyO3/maturin-action@86b9d133d34bc1b40018696f782949dac11bd380 # v1.49.4
6565 with :
6666 target : ${{ matrix.target }}
6767 manylinux : ${{ matrix.manylinux || 'auto' }}
7272
7373 - run : ${{ matrix.ls || 'ls -lh' }} dist/
7474
75- - uses : actions/upload-artifact@v4
75+ - uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
7676 with :
7777 name : dist-${{ matrix.os }}-${{ matrix.target }}-${{ matrix.manylinux }}
7878 path : dist
@@ -81,14 +81,14 @@ jobs:
8181 runs-on : ubuntu-latest
8282 environment : release
8383 steps :
84- - uses : actions/checkout@v3
84+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8585 - name : Build sdist
86- uses : PyO3/maturin-action@v1
86+ uses : PyO3/maturin-action@86b9d133d34bc1b40018696f782949dac11bd380 # v1.49.4
8787 with :
8888 command : sdist
8989 args : --out dist
9090 - name : Upload sdist
91- uses : actions/upload-artifact@v4
91+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
9292 with :
9393 name : dist-sdist
9494 path : dist
9797 runs-on : ubuntu-latest
9898 environment : release
9999 steps :
100- - uses : actions/checkout@v3
100+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
101101 - name : Install and configure Poetry
102102 run : pipx install poetry
103103 - name : Hotswap build backend for Poetry
@@ -109,7 +109,7 @@ jobs:
109109 - name : Run poetry build
110110 run : poetry build -f wheel
111111 - name : Upload no-ext wheel
112- uses : actions/upload-artifact@v4
112+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
113113 with :
114114 name : dist-any
115115 path : dist
@@ -127,10 +127,10 @@ jobs:
127127 url : https://pypi.org/project/pendulum/
128128 steps :
129129 - name : Checkout code
130- uses : actions/checkout@v2
130+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
131131
132132 - name : Download artifacts
133- uses : actions/download-artifact@v4
133+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
134134 with :
135135 pattern : dist*
136136 path : dist
@@ -147,12 +147,12 @@ jobs:
147147 || echo prerelease=true >> $GITHUB_OUTPUT
148148
149149 - name : Create Release
150- uses : ncipollo/release-action@v1
150+ uses : ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0
151151 with :
152152 artifacts : " dist/*"
153153 draft : false
154154 prerelease : steps.check-version.outputs.prerelease == 'true'
155155 body : " See CHANGELOG.md for details"
156156
157157 - name : Publish package distributions to PyPI
158- uses : pypa/gh-action-pypi-publish@release/v1
158+ uses : pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
0 commit comments