Skip to content

Commit 02069c6

Browse files
authored
Update CI for version check. (#48)
1 parent 88db607 commit 02069c6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,13 @@ jobs:
7171
7272
- name: PHP version
7373
run: |
74-
php-config || true
74+
php --version
7575
php-fpm --version
76+
php-config || true
77+
78+
[[ `php --version` == PHP\ ${{ matrix.php-version }}.* ]]
79+
[[ `php-fpm --version` == PHP\ ${{ matrix.php-version }}.* ]]
80+
[[ `php-config --version` == ${{ matrix.php-version }}.* ]]
7681
7782
- name: Install Rust Nightly
7883
uses: actions-rs/toolchain@v1

0 commit comments

Comments
 (0)