2222
2323 steps :
2424 - name : Checkout
25- uses : actions/checkout@v5
25+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2626 - name : Setup PHP
27- uses : shivammathur/setup-php@v2
27+ uses : shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2
2828 with :
2929 php-version : ${{ matrix.php }}
3030 - name : Build
@@ -46,10 +46,10 @@ jobs:
4646
4747 steps :
4848 - name : Checkout
49- uses : actions/checkout@v5
49+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
5050
5151 - name : Setup PHP
52- uses : shivammathur/setup-php@v2
52+ uses : shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2
5353 with :
5454 php-version : ${{ matrix.php }}
5555
6767 pecl-package :
6868 runs-on : ubuntu-latest
6969 container :
70- image : php:8.3-cli
70+ image : php:8.3-cli@sha256:a599bc74b464f3e31b5ad0b45839e2ac8ba689d8c92372e38f9e9a5a734c9a2c
7171 steps :
72- - uses : actions/checkout@v5
72+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
7373
7474 - name : Package and copy
7575 run : |
7878 pear package
7979 cp opentelemetry-*.tgz binaries/
8080 - name : Upload artifacts
81- uses : actions/upload-artifact@v4
81+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
8282 with :
8383 name : opentelemetry-pecl
8484 path : ext/binaries/*.tgz
@@ -94,16 +94,16 @@ jobs:
9494 ts : ['ts', 'nts']
9595 steps :
9696 - name : Checkout
97- uses : actions/checkout@v5
97+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
9898 - name : Install PHP ${{ matrix.php }}-${{ matrix.ts }}
9999 id : setup-php-sdk
100- uses : php/setup-php-sdk@v0.11
100+ uses : php/setup-php-sdk@474d4e386703a8bf269c41661c6b934a751a61bf # v0.11
101101 with :
102102 version : ${{ matrix.php }}
103103 arch : x64
104104 ts : ${{ matrix.ts }}
105105 - name : Install dependencies
106- uses : ilammy/msvc-dev-cmd@v1
106+ uses : ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1
107107 with :
108108 arch : x64
109109 toolset : ${{ steps.setup-php-sdk.outputs.toolset }}
@@ -139,7 +139,7 @@ jobs:
139139 run : |
140140 Get-ChildItem -Path binaries -Recurse -Force | ForEach-Object { $_.FullName }
141141 - name : Upload artifacts
142- uses : actions/upload-artifact@v4
142+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
143143 with :
144144 name : ${{env.BUILD_NAME}}
145145 path : ext\binaries\${{env.BUILD_NAME}}\${{env.BUILD_NAME}}.dll
@@ -154,17 +154,17 @@ jobs:
154154 continue-on-error : false
155155 steps :
156156 - name : Checkout
157- uses : actions/checkout@v5
157+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
158158 - name : download-artifacts
159- uses : actions/download-artifact@v5
159+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
160160 with :
161161 path : ext/artifacts
162162 - name : zip
163163 run : |
164164 cd artifacts
165165 find . -maxdepth 1 -type d -exec zip -jr {}.zip {} \;
166166 - name : Release
167- uses : softprops/action-gh-release@v2
167+ uses : softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2
168168 with :
169169 generate_release_notes : true
170170 draft : true
0 commit comments