Skip to content

Commit

Permalink
Merge pull request #34 from wp-media/develop
Browse files Browse the repository at this point in the history
Deploy 1.0.6
  • Loading branch information
CrochetFeve0251 authored Jul 23, 2024
2 parents 6c86f07 + fda7133 commit c633952
Show file tree
Hide file tree
Showing 92 changed files with 632 additions and 3,038 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: build
- name: remove installers
run: composer remove composer/installers
- name: regular build
run: composer install
- name: optimized build
run: composer install -o --no-dev --no-scripts
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint_phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.4']
php-versions: ['8.1']

name: RocketCDN lint with PHPCS. PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }}.
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_php8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
restore-keys: ${{ runner.os }}-composer-

- name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-scripts --ignore-platform-reqs
run: composer install --prefer-dist --no-interaction --ignore-platform-reqs

- name: Install tests
run: bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1:3306 ${{ matrix.wp-versions }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_rocketcdn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
restore-keys: ${{ runner.os }}-composer-

- name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-scripts
run: composer install --prefer-dist --no-interaction

- name: Install tests
run: bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1:3306 ${{ matrix.wp-versions }}
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
composer.phar
/vendor/

/src/Dependencies
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# composer.lock
15 changes: 11 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
],
"type": "wordpress-plugin",
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}

},
"support": {
"issues": "https://github.com/wp-media/rocketcdn-plugin/issues",
Expand All @@ -34,12 +39,13 @@
"league/container": "^3.3",
"phpcompatibility/phpcompatibility-wp": "^2.0",
"phpstan/phpstan": "^0.12",
"phpunit/phpunit": "^7.5 || ^8 || ^9",
"phpunit/php-file-iterator": "2.0.3",
"psr/container": "1.0.0",
"phpunit/phpunit": "^7.5 || ^8 || ^9",
"roave/security-advisories": "dev-master",
"szepeviktor/phpstan-wordpress": "^0.7.0",
"wp-coding-standards/wpcs": "^2",
"wp-launchpad/core": "^0.2.6",
"wp-launchpad/framework-options": "^0.1.2",
"wp-media/phpunit": "^3.0"
},
"autoload": {
Expand All @@ -59,7 +65,8 @@
"classmap_directory": "/src/classes/dependencies/",
"classmap_prefix": "RocketCDN_",
"packages": [
"league/container"
"wp-launchpad/core",
"wp-launchpad/framework-options"
]
}
},
Expand Down
Loading

0 comments on commit c633952

Please sign in to comment.