File tree 1 file changed +4
-29
lines changed
1 file changed +4
-29
lines changed Original file line number Diff line number Diff line change @@ -62,37 +62,12 @@ jobs:
62
62
name : Check Coding Standards
63
63
runs-on : ubuntu-latest
64
64
steps :
65
- - name : Checkout code
66
- uses : actions/checkout@v2
67
-
68
- - name : Setup PHP
69
- uses : shivammathur/setup-php@v2
70
- with :
71
- php-version : 7.4
72
- tools : composer
73
- extensions : mysql
74
- coverage : none
75
-
76
- - name : Get composer cache directory
77
- id : composer-cache
78
- run : echo "::set-output name=dir::$(composer config cache-files-dir)"
79
-
80
- - name : Cache Composer packages
81
- uses : actions/cache@v2
82
- with :
83
- path : ${{ steps.composer-cache.outputs.dir }}
84
- key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
85
- restore-keys : |
86
- ${{ runner.os }}-php-
87
-
88
- - name : Install dependencies
89
- run : composer install --prefer-dist --no-progress
90
-
91
- - name : PHPCS check
92
- uses : chekalsky/phpcs-action@v1
65
+ - uses : actions/checkout@v2
66
+ - name : WPCS check
67
+
93
68
with :
94
69
enable_warnings : true
95
- phpcs_bin_path : ' ./vendor/bin/phpcs '
70
+ use_local_config : true
96
71
97
72
98
73
You can’t perform that action at this time.
0 commit comments