Skip to content

Commit a550494

Browse files
committed
Fixup
1 parent ed63a1d commit a550494

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/jobs/fix_pipelinecomponents_image.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
#!/usr/bin/env bash
1+
#!/bin/sh
22

3-
set -euxo pipefail
3+
# We can't convert this script to bash as GHA doesn't have bash installed
4+
#
5+
# The current script doesn't use a piped command so the "benefit" of using
6+
# pipefail is not there over the hassle of maintaining another container.
7+
set -eux
48

59
echo "Set plugin config for version detection"
610
phpcs --config-set installed_paths /app/vendor/phpcompatibility/php-compatibility

.github/workflows/codestyle.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,7 @@ jobs:
5151
- run: apk add git
5252
- uses: actions/checkout@v4
5353
- name: Various fixes to this image
54-
run: |
55-
find / -name fix_pipelinecomponents_image.sh
56-
find / -name bash
57-
/usr/bin/env bash --version
58-
.github/jobs/fix_pipelinecomponents_image.sh
54+
run: .github/jobs/fix_pipelinecomponents_image.sh
5955
- name: Detect compatibility with supported PHP version
6056
run: >
6157
phpcs -s -p --colors

0 commit comments

Comments
 (0)