FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
utm.codes/.github/workflows/code-styles.yml at main · asdfdotdev/utm.codes · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
asdfdotdev
/
utm.codes
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
13
Star
11
Code
Issues
1
Pull requests
0
Discussions
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
utm.codes
/
.github
/
workflows
/
code-styles.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
65 lines (56 loc) · 2.03 KB
Breadcrumbs
utm.codes
/
.github
/
workflows
/
code-styles.yml
Copy path
File metadata and controls
65 lines (56 loc) · 2.03 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name
:
Code Styles
on
:
push
:
branches
:
-
main
-
development
pull_request
:
branches
:
types
:
[closed]
schedule
:
-
cron
:
'
0 0 * * 0
'
jobs
:
code-styles
:
name
:
WordPress ${{ matrix.wordpress-versions }} - PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }}
runs-on
:
${{ matrix.operating-system }}
strategy
:
matrix
:
php-versions
:
[ '8.4' ]
wordpress-versions
:
[ '7.0' ]
operating-system
:
[ ubuntu-24.04 ]
steps
:
-
name
:
Install Packages
run
:
sudo apt install -y subversion
-
name
:
Setup PHP
#
Commit hash for v2.37.2: https://github.com/shivammathur/setup-php/releases/tag/2.37.2
uses
:
shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240
with
:
php-version
:
${{ matrix.php-versions }}
extensions
:
mbstring
ini-values
:
post_max_size=256M, max_execution_time=180
coverage
:
xdebug
-
name
:
Checkout utm.codes
#
Commit hash for v7.0.1: https://github.com/actions/checkout/releases/tag/v7.0.1
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
-
name
:
Setup PHPCS
run
:
|
composer install
./vendor/bin/phpcs --config-set ignore_warnings_on_exit 1
./vendor/bin/phpcs --config-set ignore_errors_on_exit 1
./vendor/bin/phpcs --config-set show_progress 1
./vendor/bin/phpcs --config-set colors 1
-
name
:
Log Debug Information
run
:
|
echo "$GITHUB_REF"
echo "$GITHUB_EVENT_NAME"
php --version
mysql --version
lsb_release -a
./vendor/bin/phpcs --version
./vendor/bin/phpcs -i
-
name
:
PHP Compatibility
run
:
|
./vendor/bin/phpcs --standard=PHPCompatibility -p --runtime-set testVersion 5.6- ./index.php ./utm-dot-codes.php ./classes
-
name
:
WordPress Code Standards
run
:
|
./vendor/bin/phpcs --standard=WordPress --report=summary ./index.php ./utm-dot-codes.php ./classes
Back
|
FazBrowse Home
|
New Git URL