-
-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #628 from lucatume/v4
v4
- Loading branch information
Showing
2,877 changed files
with
270,721 additions
and
108,472 deletions.
There are no files selected for viewing
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,20 +1,20 @@ | ||
# Exclude all build files | ||
/.github export-ignore | ||
/bin export-ignore | ||
/config export-ignore | ||
/containers export-ignore | ||
/docs export-ignore | ||
/tests export-ignore | ||
/.env.testing export-ignore | ||
/.gitattributes export-ignore | ||
/.gitbook.yaml export-ignore | ||
/.gitignore export-ignore | ||
/codeception.dist.yml export-ignore | ||
/composer.codecept-4.json export-ignore | ||
/composer.lock export-ignore | ||
/composer.codecept-4.lock export-ignore | ||
/docker-compose.yml export-ignore | ||
/dynamicReturnTypeMeta.json export-ignore | ||
/Makefile export-ignore | ||
/phpcs.xml export-ignore | ||
/phpstan.neon.dist export-ignore | ||
/.DS_Store export-ignore | ||
/.cache export-ignore | ||
/.git export-ignore | ||
/.gitattributes export-ignore | ||
/.github export-ignore | ||
/.gitignore export-ignore | ||
/.idea export-ignore | ||
/Makefile export-ignore | ||
/bin export-ignore | ||
/codeception.dist.yml export-ignore | ||
/composer.lock export-ignore | ||
/config export-ignore | ||
/docker-compose.yml export-ignore | ||
/docs export-ignore | ||
/dynamicReturnTypeMeta.json export-ignore | ||
/mkdocs.yml export-ignore | ||
/tests export-ignore | ||
/todo.txt export-ignore | ||
/var export-ignore | ||
/vendor export-ignore |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: docs | ||
on: | ||
push: | ||
branches: | ||
- v4 | ||
permissions: | ||
contents: write | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
if: github.event.repository.fork == false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.x | ||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV | ||
- uses: actions/cache@v3 | ||
with: | ||
key: mkdocs-material-${{ env.cache_id }} | ||
path: .cache | ||
restore-keys: | | ||
mkdocs-material- | ||
- run: sudo apt-get install pngquant | ||
- run: pip install git+https://${MKDOCS_GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git pillow | ||
- run: mkdocs gh-deploy --force | ||
env: | ||
MKDOCS_GH_TOKEN: ${{ secrets.MKDOCS_GH_TOKEN }} |
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,31 @@ | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow | ||
|
||
name: "Spelling" | ||
|
||
on: # yamllint disable-line rule:truthy | ||
pull_request: null | ||
push: | ||
branches: | ||
- "master" | ||
|
||
permissions: | ||
contents: "read" | ||
|
||
concurrency: | ||
group: "${{ github.workflow }}-${{ github.ref }}" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
typos_check: | ||
name: "文A Typos check" | ||
runs-on: "ubuntu-22.04" | ||
timeout-minutes: 1 | ||
steps: | ||
- | ||
name: "Checkout repository" | ||
uses: "actions/checkout@v3" | ||
- | ||
name: "Search for misspellings" | ||
uses: "crate-ci/typos@master" | ||
with: | ||
config: ./config/typos.toml |
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow | ||
|
||
name: "Static Analysis" | ||
|
||
on: # yamllint disable-line rule:truthy | ||
pull_request: null | ||
push: | ||
branches: | ||
- "master" | ||
|
||
permissions: | ||
contents: "read" | ||
|
||
concurrency: | ||
group: "${{ github.workflow }}-${{ github.ref }}" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
static_analysis: | ||
name: "Static Analysis" | ||
runs-on: "ubuntu-22.04" | ||
steps: | ||
- | ||
name: "Set up PHP" | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
php-version: "8.0" | ||
coverage: "none" | ||
- | ||
name: "Checkout repository" | ||
uses: "actions/checkout@v3" | ||
- | ||
name: "Validate Composer configuration" | ||
run: "composer validate --no-interaction --strict" | ||
- | ||
name: "Install dependencies" | ||
uses: "ramsey/composer-install@v2" | ||
with: | ||
dependency-versions: "highest" | ||
- | ||
name: "Check PSR-4 mapping" | ||
run: "composer dump-autoload --no-interaction --optimize --strict-psr" | ||
- | ||
name: "Run PHPHStan" | ||
run: "composer run stan" | ||
- | ||
name: "Run PHP Code Sniffer" | ||
run: "composer run cs" |
Oops, something went wrong.