@@ -46,6 +46,30 @@ jobs: |
|
|
46 |
46 |
- name: Run vimeo/psalm |
47 |
47 |
run: ./tools/psalm --no-progress --shepherd --show-info=false --stats |
48 |
48 |
|
|
49 |
+backward-compatibility: |
|
50 |
+name: Backward Compatibility |
|
51 |
+ |
|
52 |
+runs-on: ubuntu-latest |
|
53 |
+ |
|
54 |
+steps: |
|
55 |
+ - name: Checkout |
|
56 |
+uses: actions/checkout@v2 |
|
57 |
+with: |
|
58 |
+fetch-depth: 0 |
|
59 |
+ |
|
60 |
+ - name: Fetch tags |
|
61 |
+run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* |
|
62 |
+ |
|
63 |
+ - name: Install PHP with extensions |
|
64 |
+uses: shivammathur/setup-php@v2 |
|
65 |
+with: |
|
66 |
+php-version: 7.4 |
|
67 |
+coverage: none |
|
68 |
+extensions: intl |
|
69 |
+ |
|
70 |
+ - name: Run roave/backward-compatibility-check |
|
71 |
+run: ./tools/roave-backward-compatibility-check --from=3.0.0 |
|
72 |
+ |
49 |
73 |
tests: |
50 |
74 |
name: Tests |
51 |
75 |
|