We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e12e8b commit bb12e34Copy full SHA for bb12e34
.github/workflows/php.yml
@@ -0,0 +1,25 @@
1
+# vim: set colorcolumn=:
2
+name: bnetdocs-web
3
+
4
+on: [push]
5
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v1
11
12
+ - name: Update apt cache
13
+ run: sudo apt-get update
14
15
+ - name: Install php 7.4
16
+ run: sudo apt-get install php7.4-cli
17
18
+ - name: Validate composer.json and composer.lock
19
+ run: composer validate
20
21
+ - name: Install composer/vendor dependencies
22
+ run: composer install --prefer-dist --no-progress --no-suggest --ignore-platform-reqs
23
24
+ - name: Validate PHP syntax
25
+ run: bash -c 'set -e;for file in $(find ./src -type f -regex .*\.php -print); do php -e -l -f "$file"; done'
0 commit comments