Skip to content

Commit 14b47f6

Browse files
committed
feat: Update default PHP version to 8.4
This commit updates the default PHP version used by the action to 8.4. It also updates the README to reflect this change and adds badges for new workflows.
1 parent 446a2bd commit 14b47f6

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# GitHub Action for DrupalQA
22

3+
[![GitHub Super-Linter](https://github.com/hussainweb/drupalqa-action/actions/workflows/linter.yml/badge.svg)](https://github.com/super-linter/super-linter)
4+
![CI](https://github.com/hussainweb/drupalqa-action/actions/workflows/ci.yml/badge.svg)
5+
[![Check dist/](https://github.com/hussainweb/drupalqa-action/actions/workflows/check-dist.yml/badge.svg)](https://github.com/hussainweb/drupalqa-action/actions/workflows/check-dist.yml)
6+
[![CodeQL](https://github.com/hussainweb/drupalqa-action/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/hussainweb/drupalqa-action/actions/workflows/codeql-analysis.yml)
7+
[![Coverage](./badges/coverage.svg)](./badges/coverage.svg)
8+
39
This action runs checks from [DrupalQA](https://github.com/hussainweb/drupalqa)
410
on a Drupal codebase. While you can directly use the Docker image with GitHub
511
Actions, this Action makes it simpler to specify and configure some of the
@@ -10,14 +16,14 @@ checks.
1016
### `php-version`
1117

1218
The PHP version to use (corresponds to the Docker image). Allowed options and
13-
their corresponding Docker images are as follows. Default: `8.2`.
19+
their corresponding Docker images are as follows. Default: `8.4`.
1420

1521
| php-version | Docker image |
1622
| ----------- | -------------------------------------------- |
1723
| 7.3 | hussainweb/drupalqa:php7.3 (_not supported_) |
1824
| 7.4 | hussainweb/drupalqa:php7.4 (_not supported_) |
1925
| 8.0 | hussainweb/drupalqa:php8.0 (_not supported_) |
20-
| 8.1 | hussainweb/drupalqa:php8.1 |
26+
| 8.1 | hussainweb/drupalqa:php8.1 (_not supported_) |
2127
| 8.2 | hussainweb/drupalqa:php8.2 |
2228
| 8.3 | hussainweb/drupalqa:php8.3 |
2329
| 8.4 | hussainweb/drupalqa:php8.4 |
@@ -61,7 +67,7 @@ No outputs.
6167
```yaml
6268
uses: hussainweb/drupalqa@v1
6369
with:
64-
php-version: 8.2
70+
php-version: 8.4
6571
checks: |
6672
phplint: {}
6773
phpcs:

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
php-version: # id of input
55
description: 'PHP version.'
66
required: false
7-
default: '8.2'
7+
default: '8.4'
88
web-root:
99
description:
1010
'Web root (document root). This is set to web by default. Do not include

0 commit comments

Comments
 (0)