File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 2121 steps :
2222 - uses : actions/checkout@v6
2323
24- # - name: Validate composer.json and composer.lock
25- # run: composer validate --strict
26-
2724 # This config file gets auto-loaded by Psalm
2825 # !!!! The old bcc-signon plugin and the bcc-wp-proxy plugin are excluded from analysis!
2926 - name : Set Psalm config
@@ -83,12 +80,12 @@ jobs:
8380 function get_culture() {};
8481 EOF
8582
86- - name : Install Psalm and Wordpress stubs
83+ - name : Install Wordpress plugin for Psalm
8784 run : |
88- composer require --dev vimeo/psalm
89- composer require --dev humanmade/psalm-plugin-wordpress
90- ./vendor/bin/psalm-plugin enable humanmade/psalm-plugin-wordpress
85+ composer require humanmade/psalm-plugin-wordpress
9186
9287 - name : Run Psalm
93- run : ./vendor/bin/psalm --no-cache
88+ uses : docker://ghcr.io/psalm/psalm-github-actions
89+ with :
90+ security_analysis : true
9491
You can’t perform that action at this time.
0 commit comments