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 4d1de85 commit 90d0a76Copy full SHA for 90d0a76
.github/workflows/php.yml
@@ -0,0 +1,32 @@
1
+name: build
2
+
3
+on: [push,pull_request]
4
5
+jobs:
6
+ build:
7
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - uses: actions/checkout@v1
12
13
+ - name: Get Composer Cache Directory
14
+ id: composer-cache
15
+ run: |
16
+ echo "::set-output name=dir::$(composer config cache-files-dir)"
17
18
+ - uses: actions/cache@v1
19
+ with:
20
+ path: ${{ steps.composer-cache.outputs.dir }}
21
+ key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
22
+ restore-keys: |
23
+ ${{ runner.os }}-composer-
24
25
+ - name: Validate composer.json and composer.lock
26
+ run: composer validate
27
28
+ - name: Install dependencies
29
+ run: composer install
30
31
+ - name: Run test suite
32
+ run: composer check
0 commit comments