Skip to content

Commit 4fe6b4d

Browse files
committed
Updated workflow
1 parent 21abd61 commit 4fe6b4d

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/push-main.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -98,25 +98,25 @@ jobs:
9898
run: COMPOSER_PROCESS_TIMEOUT=3000 composer php-lint
9999

100100

101-
# # --------------------------------------------------------------------
102-
# # PHP CS FIXER
103-
# # --------------------------------------------------------------------
104-
# - name: "[ STEP 2 ] - PHP CS Fixer"
105-
# run: echo "OK"
106-
#
107-
# - name: " -- Cache PHP CS Fixer"
108-
# id: php-cs-linter
109-
# uses: actions/cache@v3
110-
# with:
111-
# path: ./protected/runtime/.php-cs-fixer.cache
112-
# key: ${{ runner.os }}-phpcslint-${{ env.DATE }}
113-
# restore-keys: |
114-
# ${{ runner.os }}-phpcslint-
115-
#
116-
# - name: " -- Fix PHP CS Fixer (in fix mode)"
117-
# run: COMPOSER_PROCESS_TIMEOUT=3000 php /home/runner/work/phishing-web/phishing-web/protected/composer.phar php-cs-fix
118-
#
119-
#
101+
# --------------------------------------------------------------------
102+
# PHP CS FIXER
103+
# --------------------------------------------------------------------
104+
- name: "[ STEP 2 ] - PHP CS Fixer"
105+
run: echo "OK"
106+
107+
- name: " -- Cache PHP CS Fixer"
108+
id: php-cs-linter
109+
uses: actions/cache@v3
110+
with:
111+
path: ./tmp/.php-cs-fixer.cache
112+
key: ${{ runner.os }}-phpcslint-${{ env.DATE }}
113+
restore-keys: |
114+
${{ runner.os }}-phpcslint-
115+
116+
- name: " -- Fix PHP CS Fixer (in fix mode)"
117+
run: COMPOSER_PROCESS_TIMEOUT=3000 composer php-cs-fix
118+
119+
120120
# # --------------------------------------------------------------------
121121
# # STATIC CODE ANALYSIS
122122
# # --------------------------------------------------------------------

0 commit comments

Comments
 (0)