初始化仓库
This commit is contained in:
1
vendor/overtrue/socialite/.github/FUNDING.yml
vendored
Normal file
1
vendor/overtrue/socialite/.github/FUNDING.yml
vendored
Normal file
@ -0,0 +1 @@
|
||||
github: [overtrue]
|
||||
11
vendor/overtrue/socialite/.github/dependabot.yml
vendored
Normal file
11
vendor/overtrue/socialite/.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
# To get started with Dependabot version updates, you'll need to specify which
|
||||
# package ecosystems to update and where the package manifests are located.
|
||||
# Please see the documentation for all configuration options:
|
||||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "composer" # See documentation for possible values
|
||||
directory: "/" # Location of package manifests
|
||||
schedule:
|
||||
interval: "daily"
|
||||
34
vendor/overtrue/socialite/.github/workflows/lint.yml
vendored
Normal file
34
vendor/overtrue/socialite/.github/workflows/lint.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
name: Lint
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
phpstan:
|
||||
name: PHPStan
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: composer validate --strict
|
||||
- run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
||||
id: composer-cache
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: ${{ steps.composer-cache.outputs.dir }}
|
||||
key: dependencies-caches-php-${{ hashFiles('**/composer.lock') }}
|
||||
restore-keys: dependencies-caches-php-
|
||||
- run: composer install --no-progress
|
||||
- run: composer phpstan
|
||||
|
||||
php_cs_fixer:
|
||||
name: PHP-CS-Fxier
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
||||
id: composer-cache
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: ${{ steps.composer-cache.outputs.dir }}
|
||||
key: dependencies-caches-php-${{ hashFiles('**/composer.lock') }}
|
||||
restore-keys: dependencies-caches-php-
|
||||
- run: composer install --no-progress
|
||||
- run: composer check-style
|
||||
28
vendor/overtrue/socialite/.github/workflows/test.yml
vendored
Normal file
28
vendor/overtrue/socialite/.github/workflows/test.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: Test
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
phpunit:
|
||||
name: PHP-${{ matrix.php_version }}-${{ matrix.perfer }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
php_version:
|
||||
- 8.0
|
||||
- 8.1
|
||||
perfer:
|
||||
- stable
|
||||
- lowest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: composer validate --strict
|
||||
- run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
||||
id: composer-cache
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: ${{ steps.composer-cache.outputs.dir }}
|
||||
key: dependencies-caches-php-${{ hashFiles('**/composer.lock') }}
|
||||
restore-keys: dependencies-caches-php-
|
||||
- run: composer update --prefer-dist --no-interaction --no-suggest --prefer-${{ matrix.perfer }}
|
||||
- run: ./vendor/bin/phpunit
|
||||
Reference in New Issue
Block a user