Skip to content

Commit c0bbe60

Browse files
committed
ci: update and pin GitHub Actions to latest versions
1 parent b169732 commit c0bbe60

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/3x.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
name: Checkout & build Phar
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3030
- name: Save repo content as artifact
31-
uses: actions/upload-artifact@v4
31+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
3232
with:
3333
name: full-workspace
3434
path: ${{ github.workspace }}
@@ -43,7 +43,7 @@ jobs:
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@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
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].0
80+
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
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@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.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@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.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@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
134134
with:
135135
name: terminus-phar
136136
- name: Release
137-
uses: softprops/action-gh-release@v1
137+
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
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@c5ddc585e75f0f750a8b4f610688b4bec9e80915 # v6
151151
with:
152152
token: ${{secrets.HOMEBREW_GITHUB_API_TOKEN}}
153153
tap: pantheon-systems/external

0 commit comments

Comments
 (0)