-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* BREAKINGCHANGE(config): Rename menu to adminMenu * BREAKINGCHANGE(config): Rename `categories` to `blockCategories` * BREAKINGCHANGE(anchors): Anchors have been deprecated from Poet. If you happen to use them and see this, hit me up – I wouldn't mind whipping up a separate package. * enhance(poet): Split Poet into modules (Fixes #10) * enhance(poet): Refactor and improve code of project * chore(deps): Bump dependencies * enhance(poet): Move Collection into a trait to avoid using the global `collect()` function (Fixes #15) * enhance(admin-menu): Rewrite Admin Menu module to not use `$GLOBALS` * enhance(admin-menu): Allow configuring the admin page slug when moving admin menu items * chore(ci): Move to GitHub actions
- Loading branch information
Showing
22 changed files
with
697 additions
and
853 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
/.gitattributes export-ignore | ||
/.github export-ignore | ||
/.circleci export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Main | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
php: | ||
name: PHP ${{ matrix.php }} | ||
runs-on: ubuntu-latest | ||
if: "!contains(github.event.head_commit.message, '[ci skip]')" | ||
strategy: | ||
matrix: | ||
php: ['7.3', '7.4', '8.0'] | ||
|
||
steps: | ||
- name: Checkout the project | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup the PHP ${{ matrix.php }} environment on ${{ runner.os }} | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
coverage: xdebug | ||
env: | ||
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Restore the Composer cache directory | ||
id: composercache | ||
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
path: ${{ steps.composercache.outputs.dir }} | ||
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} | ||
restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer- | ||
|
||
- name: Install Composer dependencies | ||
run: composer install --no-progress --prefer-dist --optimize-autoloader --no-suggest | ||
|
||
- name: Execute the PHP lint script | ||
run: composer run-script lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
vendor | ||
/vendor |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.