77 runs-on : ubuntu-20.04
88
99 steps :
10- - uses : actions/checkout@v4
11- - uses : actions/cache@v4
10+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
11+ - uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
1212 with :
1313 path : ~/.cache/pip
1414 key : ${{ runner.os }}-pip-setup-${{ hashFiles('**/requirements*.txt') }}
1515 - name : Setup Python
16- uses : actions/setup-python@v5
16+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
1717 with :
1818 python-version : 3.8
1919 - name : Install Gammu
2929 - name : twine
3030 run : twine check dist/*
3131 - name : Store the binary wheel
32- uses : actions/upload-artifact@v4
32+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
3333 with :
3434 name : python-package-distributions
3535 path : dist
@@ -47,13 +47,13 @@ jobs:
4747 architecture : [x64, x86]
4848
4949 steps :
50- - uses : actions/checkout@v4
51- - uses : actions/cache@v4
50+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
51+ - uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
5252 with :
5353 path : ~/.cache/pip
5454 key : ${{ runner.os }}-pip-setup-${{ hashFiles('**/requirements*.txt') }}
5555 - name : Setup Python
56- uses : actions/setup-python@v5
56+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
5757 with :
5858 python-version : ${{ matrix.python-version }}
5959 architecture : ${{ matrix.architecture }}
7676 - name : twine
7777 run : twine check dist/*
7878 - name : Store the binary wheel
79- uses : actions/upload-artifact@v4
79+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
8080 with :
8181 name : python-package-distributions
8282 path : dist
@@ -88,15 +88,15 @@ jobs:
8888 - windows
8989
9090 steps :
91- - uses : actions/checkout@v4
91+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
9292 - name : Download all the dists
93- uses : actions/download-artifact@v4
93+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
9494 with :
9595 name : python-package-distributions
9696 path : dist/
9797 - name : Publish package
9898 if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
99- uses : pypa/gh-action-pypi-publish@v1.12.2
99+ uses : pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc # v1.12.2
100100 with :
101101 user : __token__
102102 password : ${{ secrets.pypi_password }}
0 commit comments