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 5f075e1 commit 982d6d1Copy full SHA for 982d6d1
.github/workflows/build.yaml
@@ -0,0 +1,40 @@
1
+name: "Build"
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches: [master]
7
8
+jobs:
9
+ build:
10
+ name: "Build"
11
+ runs-on: "ubuntu-latest"
12
13
+ steps:
14
+ - name: "Checkout"
15
+ uses: actions/checkout@v3
16
17
+ - name: "Install PHP"
18
+ uses: "shivammathur/setup-php@v2"
19
+ with:
20
+ coverage: "pcov"
21
+ php-version: "8.0"
22
+ ini-values: memory_limit=-1
23
24
+ - name: "Cache Composer dependencies"
25
+ uses: actions/cache@v3
26
27
+ path: |
28
+ ~/.composer/cache
29
+ vendor
30
+ key: "php-8.0"
31
+ restore-keys: "php-8.0"
32
33
+ - name: "Validate composer"
34
+ run: "composer validate"
35
36
+ - name: "Install dependencies"
37
+ run: "composer install"
38
39
+ - name: "Run composer build"
40
+ run: "composer build"
0 commit comments