Skip to content

Commit 1bdd970

Browse files
committed
1 parent 2f2271c commit 1bdd970

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/drupal-check.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
12+
- name: Checkout
13+
uses: actions/checkout@v1
14+
15+
- name: Info
16+
run: |
17+
pwd
18+
ls -lah
19+
php -v
20+
php -m
21+
composer -vvv -V
22+
composer install -o --profile
23+
24+
- name: Build
25+
uses: docker://skilldlabs/php:73
26+
with:
27+
args: sh -c "composer install -o && vendor/bin/drupal-check -ad -vv -n web/modules/custom"
28+
# - name: Run a one-line script
29+
# uses: skilldlabs/php:73
30+
# with:
31+
# args: composer -vvv -V
32+
# composer install -o
33+
# vendor/bin/drupal-check -ad -vv -n web/modules/custom
34+
- name: Run a multi-line script
35+
run: |
36+
ls -la
37+
ls -lah vendor/bin

0 commit comments

Comments
 (0)