2626 name : Checkout & build Phar
2727 steps :
2828 - name : Checkout
29- uses : actions/checkout@v3
29+ uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
3030 - name : Save repo content as artifact
31- uses : actions/upload-artifact@v4
31+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3232 with :
3333 name : full-workspace
3434 path : ${{ github.workspace }}
4343 export PATH=~/box/vendor/bin:$PATH
4444 composer phar:build
4545 - name : Save terminus.phar as artifact
46- uses : actions/upload-artifact@v4
46+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4747 with :
4848 name : terminus-phar
4949 path : terminus.phar
@@ -77,32 +77,32 @@ jobs:
7777 needs : [ checkout_build ]
7878 steps :
7979 - name : Install SSH key
80- uses :
webfactory/[email protected] 80+ uses : webfactory/ssh-agent@dc588b651fe13675774614f8e6a936a468676387 # v0.9.0
8181 with :
8282 ssh-private-key : ${{ secrets.TERMINUS_SITE_OWNER_SSH_PRIVATE_KEY }}
8383 - run : brew update && brew upgrade icu4c
8484 if : runner.os == 'macOS'
8585 continue-on-error : true
8686 - name : Setup PHP with PECL extension
87- uses : shivammathur/setup-php@v2
87+ uses : shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2
8888 with :
8989 php-version : ${{ matrix.php-versions }}
9090 extensions : gd, mbstring, zip, ssh2-1.4.1, pcov
9191 coverage : pcov
9292 ini-values : error_reporting=E_ALL
9393 - name : Download repo content from artifact
94- uses : actions/download-artifact@v4
94+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
9595 with :
9696 name : full-workspace
9797 - name : Download terminus.phar as artifact
98- uses : actions/download-artifact@v4
98+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
9999 with :
100100 name : terminus-phar
101101 - name : Install Composer Dependencies
102102 run : composer install --no-interaction --prefer-dist
103103 - name : Setup tmate session
104104 if : ${{ github.event.inputs.tmate_enabled == 1 }}
105- uses : mxschmitt/action-tmate@v3
105+ uses : mxschmitt/action-tmate@c0afd6f790e3a5564914980036ebf83216678101 # v3.23
106106 - name : Functional Tests (short)
107107 if : ${{ github.event_name == 'push' || github.event_name == 'schedule' || github.event.inputs.functional_tests_group == 'all' }}
108108 run : composer test:short
@@ -130,11 +130,11 @@ jobs:
130130 if : ${{ startsWith(github.ref, 'refs/tags/') && github.repository == 'pantheon-systems/terminus' }}
131131 steps :
132132 - name : Download terminus.phar as artifact
133- uses : actions/download-artifact@v4
133+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
134134 with :
135135 name : terminus-phar
136136 - name : Release
137- uses : softprops/action-gh-release@v1
137+ uses : softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
138138 with :
139139 files : terminus.phar
140140 env :
@@ -147,7 +147,7 @@ jobs:
147147 if : ${{ startsWith(github.ref, 'refs/tags/') && github.repository == 'pantheon-systems/terminus' }}
148148 steps :
149149 - name : Bump Homebrew formula
150- uses : dawidd6/action-homebrew-bump-formula@v3
150+ uses : dawidd6/action-homebrew-bump-formula@baf2b60c51fc1f8453c884b0c61052668a71bd1d # v3.11.0
151151 with :
152152 token : ${{secrets.HOMEBREW_GITHUB_API_TOKEN}}
153153 tap : pantheon-systems/external
0 commit comments