diff --git a/.gitattributes b/.gitattributes index 26873e9..337ff0a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,7 +4,6 @@ /.gitattributes export-ignore /.github export-ignore /.gitignore export-ignore -/.travis.yml export-ignore /phpunit.xml.dist export-ignore /CHANGELOG.md export-ignore /README.md export-ignore diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 29f5b9d..c29273b 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,2 @@ github: GrahamCampbell -patreon: GrahamJCampbell tidelift: "packagist/graham-campbell/markdown" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..cf626ef --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,32 @@ +name: Tests + +on: + push: + pull_request: + schedule: + - cron: '0 4 * * 1' + +jobs: + test: + + runs-on: ubuntu-latest + + strategy: + matrix: + php: [7.2, 7.3, 7.4] + laravel: [6, 7] + + name: PHP ${{ matrix.php }}; Laravel ${{ matrix.laravel }} + + steps: + - uses: actions/checkout@v2 + - name: Pull Docker Image + run: docker pull registry.gitlab.com/grahamcampbell/php:${{ matrix.php }} + - name: Select Laravel + run: docker run --rm -w /data -v ${{ github.workspace }}:/data --entrypoint composer registry.gitlab.com/grahamcampbell/php:${{ matrix.php }} require "laravel/framework:${{ matrix.laravel }}.*" --no-update -n + - name: Run Composer + run: docker run --rm -w /data -v ${{ github.workspace }}:/data --entrypoint composer registry.gitlab.com/grahamcampbell/php:${{ matrix.php }} install --prefer-dist -n -o + - name: Run PHPUnit + run: docker run --rm -w /data -v ${{ github.workspace }}:/data --entrypoint vendor/bin/phpunit registry.gitlab.com/grahamcampbell/php:${{ matrix.php }} --coverage-clover build/logs/clover.xml + - name: Upload Coverage + run: docker run --rm -w /data -v ${{ github.workspace }}:/data --entrypoint ocular registry.gitlab.com/grahamcampbell/php:${{ matrix.php }} code-coverage:upload --format=php-clover build/logs/clover.xml diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b18006..c6d2e03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ CHANGE LOG ========== +## V12.0.1 (Upcoming) + +* Updated funding information + + ## V12.0 (01/03/2020) * Dropped Laravel 5 diff --git a/README.md b/README.md index 260706c..95d4623 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,12 @@ Laravel Markdown was created by, and is maintained by [Graham Campbell](https:// ![Banner](https://user-images.githubusercontent.com/2829600/71477505-680d0f80-27e2-11ea-94a6-b4bacb08e270.png)

-StyleCI Status -Build Status -Coverage Status -Quality Score -Software License -Latest Version +StyleCI Status +Build Status +Coverage Status +Quality Score +Software License +Latest Version

@@ -197,14 +197,8 @@ If you discover a security vulnerability within this package, please send an ema Laravel Markdown is licensed under [The MIT License (MIT)](LICENSE). ---- +## For Enterprise -
- - Get professional support for Laravel Markdown with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
+Available as part of the Tidelift Subscription + +The maintainers of `graham-campbell/markdown` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-graham-campbell-markdown?utm_source=packagist-graham-campbell-markdown&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)