@@ -15,11 +15,10 @@ jobs:
1515 runs-on : ubuntu-latest
1616 # This ensures that the publish action only runs in the main repository
1717 # rather than forks
18- # Environment is encouraged so adding
1918 environment : build
2019 steps :
2120 - name : Checkout
22- uses : actions/checkout@v4
21+ uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
2322 with :
2423 # This fetch element is only important if you are use SCM based
2524 # versioning (that looks at git tags to gather the version)
3130 run : git fetch origin 'refs/tags/*:refs/tags/*'
3231
3332 - name : Setup Python
34- uses : actions/setup-python@v5
33+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
3534 with :
3635 python-version : " 3.10"
3736 - name : Install Hatch
4746 ls -lh dist/
4847 # Store an artifact of the build to use in the publish step below
4948 - name : Store the distribution packages
50- uses : actions/upload-artifact@v4
49+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
5150 with :
5251 name : python-package-distributions
5352 path : dist/
@@ -62,10 +61,10 @@ jobs:
6261 name : pypi
6362 url : https://pypi.org/p/pyosmeta
6463 permissions :
65- id-token : write # this permission is mandatory for pypi publishing
64+ id-token : write # this permission is mandatory for PyPI publishing
6665 steps :
6766 - name : Download all the dists
68- uses : actions/download-artifact@v4
67+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
6968 with :
7069 name : python-package-distributions
7170 path : dist/
0 commit comments