We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc87b46 commit 7437f87Copy full SHA for 7437f87
.github/workflows/proposing-changes.yml
@@ -0,0 +1,30 @@
1
+name: "Proposing Changes"
2
+
3
+on:
4
+ pull_request:
5
+ branches: [ master, develop ]
6
7
+jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - uses: actions/checkout@v2
13
14
+ - name: Validate composer.json and composer.lock
15
+ run: composer validate
16
17
+ - name: Cache Composer packages
18
+ id: composer-cache
19
+ uses: actions/cache@v2
20
+ with:
21
+ path: vendor
22
+ key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
23
+ restore-keys: |
24
+ ${{ runner.os }}-php-
25
+ - name: Install dependencies
26
+ if: steps.composer-cache.outputs.cache-hit != 'true'
27
+ run: composer install --prefer-dist --no-progress --no-suggest
28
29
+ - name: Run Tests And Lint
30
+ run: composer test
0 commit comments