Skip to content

Commit ac9df2c

Browse files
committed
Fixes.
1 parent fbcc6ed commit ac9df2c

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/actions/setup-php-composer/action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,18 @@ runs:
2727
tools: ${{ inputs.tools }}
2828
coverage: none
2929

30+
- name: Validate Composer File
31+
shell: bash
32+
run: |
33+
if [ ! -f "plugins/${{ steps.plugin.outputs.slug }}/composer.json" ]; then
34+
echo "Error: composer.json missing in plugins/${{ steps.plugin.outputs.slug }}"
35+
exit 1
36+
fi
37+
3038
- name: Get Composer cache directory
3139
id: composer-cache
3240
shell: bash
41+
working-directory: ${{ inputs.working-directory }}
3342
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
3443

3544
- name: Cache Composer dependencies

.github/workflows/codeception.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,6 @@ jobs:
4040
wordpress: "6.6"
4141
- php: "8.0"
4242
wordpress: "6.5"
43-
- php: "7.4"
44-
wordpress: "6.8"
45-
- php: "7.4"
46-
wordpress: "6.7"
47-
- php: "7.4"
48-
wordpress: "6.6"
49-
- php: "7.4"
50-
wordpress: "6.5"
5143
fail-fast: false
5244

5345
steps:

0 commit comments

Comments
 (0)