diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8b48266..b24b7cb 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -25,6 +25,8 @@ jobs:
phpunit:
uses: yiisoft/actions/.github/workflows/phpunit.yml@master
with:
+ composer-command: |
+ composer require yiisoft/yii2:2.2.0 --prefer-dist --no-progress --no-interaction --no-scripts --ansi
extensions: mbstring, intl
os: >-
['ubuntu-latest', 'windows-latest']
diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml
new file mode 100644
index 0000000..b9742e6
--- /dev/null
+++ b/.github/workflows/compatibility.yml
@@ -0,0 +1,34 @@
+on:
+ pull_request:
+ paths-ignore:
+ - 'docs/**'
+ - 'README.md'
+ - 'CHANGELOG.md'
+ - '.gitignore'
+ - '.gitattributes'
+ - 'infection.json.dist'
+ - 'psalm.xml'
+
+ push:
+ paths-ignore:
+ - 'docs/**'
+ - 'README.md'
+ - 'CHANGELOG.md'
+ - '.gitignore'
+ - '.gitattributes'
+ - 'infection.json.dist'
+ - 'psalm.xml'
+
+name: compatibility
+
+jobs:
+ phpunit:
+ uses: php-forge/actions/.github/workflows/phpunit.yml@main
+ with:
+ composer-command: |
+ composer require yiisoft/yii2:2.0.49 --prefer-dist --no-progress --no-interaction --no-scripts --ansi
+ extensions: intl
+ os: >-
+ ['ubuntu-latest', 'windows-latest']
+ php: >-
+ ['8.1', '8.2', '8.3']
diff --git a/README.md b/README.md
index 131b109..f5b3889 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,9 @@
+
+
+
@@ -70,7 +73,6 @@ return [
You will see a debugger toolbar showing at the bottom of every page of your application.
You can click on the toolbar to see more detailed debug information.
-
### Open Files in IDE
You can create a link to open files in your favorite IDE with this configuration:
@@ -161,7 +163,6 @@ return [
];
```
-
## Testing
[Check the documentation testing](/docs/testing.md) to learn about testing.