Skip to content

Commit

Permalink
Working on next version
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed May 30, 2022
1 parent e310236 commit 01c737c
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
tests:
name: PHP ${{ matrix.php }}; Laravel ${{ matrix.laravel }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
matrix:
Expand All @@ -19,7 +19,7 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -32,23 +32,23 @@ jobs:
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Select Laravel 8
uses: nick-invision/retry@v1
uses: nick-invision/retry@v2
with:
timeout_minutes: 5
max_attempts: 5
command: composer require "laravel/framework:8.*" --no-update --no-interaction
command: composer require "laravel/framework:^8.75" --no-update --no-interaction
if: "matrix.laravel == '8'"

- name: Select Laravel 9
uses: nick-invision/retry@v1
uses: nick-invision/retry@v2
with:
timeout_minutes: 5
max_attempts: 5
command: composer require "laravel/framework:9.*" --no-update --no-interaction
command: composer require "laravel/framework:^9.0" --no-update --no-interaction
if: "matrix.laravel == '9'"

- name: Install PHP Dependencies
uses: nick-invision/retry@v1
uses: nick-invision/retry@v2
with:
timeout_minutes: 5
max_attempts: 5
Expand Down
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ CHANGE LOG
==========


## V14.0 (UPCOMING)
## V14.0 (UPGRADES)

* Upgrade to Commonmark ^2.2
* Added Laravel 9 support
* Dropped Laravel 6 and 7
* Dropped PHP < 7.4
* Dropped Laravel < 8
* Switched to Commonmark ^2.3.1


## V13.1.2 (21/11/2021)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Laravel Markdown
================

Laravel Markdown was created by, and is maintained by [Graham Campbell](https://github.com/GrahamCampbell), and is a [CommonMark](https://github.com/thephpleague/commonmark) wrapper for [Laravel](https://laravel.com). It ships with **integration with Laravel's view system** too. Feel free to check out the [change log](CHANGELOG.md), [releases](https://github.com/GrahamCampbell/Laravel-Markdown/releases), [security policy](https://github.com/GrahamCampbell/Laravel-Markdown/security/policy), [license](LICENSE), [code of conduct](.github/CODE_OF_CONDUCT.md), and [contribution guidelines](.github/CONTRIBUTING.md).
Laravel Markdown was created by, and is maintained by [Graham Campbell](https://github.com/GrahamCampbell), and is a [CommonMark](https://github.com/thephpleague/commonmark) wrapper for [Laravel](https://laravel.com/). It ships with **integration with Laravel's view system** too. Feel free to check out the [change log](CHANGELOG.md), [releases](https://github.com/GrahamCampbell/Laravel-Markdown/releases), [security policy](https://github.com/GrahamCampbell/Laravel-Markdown/security/policy), [license](LICENSE), [code of conduct](.github/CODE_OF_CONDUCT.md), and [contribution guidelines](.github/CONTRIBUTING.md).

![Banner](https://user-images.githubusercontent.com/2829600/71477505-680d0f80-27e2-11ea-94a6-b4bacb08e270.png)

Expand All @@ -16,7 +16,7 @@ Laravel Markdown was created by, and is maintained by [Graham Campbell](https://

## Installation

Laravel Markdown requires [PHP](https://php.net) 7.4-8.1. This particular version supports Laravel 8-9.
This version requires [PHP](https://www.php.net/) 7.4-8.1 and supports [Laravel](https://laravel.com/) 8-9.

| Markdown | L5.1 | L5.2 | L5.3 | L5.4 | L5.5 | L5.6 | L5.7 | L5.8 | L6 | L7 | L8 | L9 |
|----------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|
Expand All @@ -31,7 +31,7 @@ Laravel Markdown requires [PHP](https://php.net) 7.4-8.1. This particular versio
| 13.1 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: |
| 14.0 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :white_check_mark: | :white_check_mark: |

To get the latest version, simply require the project using [Composer](https://getcomposer.org):
To get the latest version, simply require the project using [Composer](https://getcomposer.org/):

```bash
$ composer require graham-campbell/markdown:^14.0
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"illuminate/filesystem": "^8.75 || ^9.0",
"illuminate/support": "^8.75 || ^9.0",
"illuminate/view": "^8.75 || ^9.0",
"league/commonmark": "^2.2"
"league/commonmark": "^2.3.1"
},
"require-dev": {
"graham-campbell/analyzer": "^3.0",
"graham-campbell/analyzer": "^3.1",
"graham-campbell/testbench": "^5.7",
"mockery/mockery": "^1.5",
"phpunit/phpunit": "^9.5"
Expand Down
8 changes: 4 additions & 4 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
</include>
</coverage>
</phpunit>

0 comments on commit 01c737c

Please sign in to comment.