Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Commit 2e9c756

Browse files
authored
update dependencies and CI/CD (#72)
1 parent 572a5f5 commit 2e9c756

File tree

3 files changed

+43
-9
lines changed

3 files changed

+43
-9
lines changed

.github/workflows/php.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
name: PHP Composer
2-
32
on:
43
push:
54
branches:
@@ -14,13 +13,19 @@ jobs:
1413
runs-on: ubuntu-latest
1514

1615
steps:
17-
- uses: actions/checkout@v2
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Setup PHP Action
20+
uses: shivammathur/[email protected]
21+
with:
22+
php-version: '7.4'
1823

1924
- name: Validate composer.json and composer.lock
2025
run: composer validate
2126

22-
# - name: Install dependencies
23-
# run: composer install --prefer-dist --no-progress --no-suggest
27+
- name: Install dependencies
28+
run: composer install --prefer-dist --no-progress --no-suggest
2429

25-
# - name: Run test suite
26-
# run: vendor/bin/phpunit
30+
- name: Run test suite
31+
run: vendor/bin/phpunit

.github/workflows/php8.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: PHP Composer
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Setup PHP Action
20+
uses: shivammathur/[email protected]
21+
with:
22+
php-version: '8.0'
23+
24+
- name: Validate composer.json and composer.lock
25+
run: composer validate
26+
27+
- name: Install dependencies
28+
run: composer install --prefer-dist --no-progress --no-suggest
29+
30+
- name: Run test suite
31+
run: vendor/bin/phpunit

composer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@
1111
],
1212
"require": {
1313
"php": "~7.0|^8.0",
14-
"8fold/php-shoop-shelf": "~0.8",
14+
"8fold/php-shoop-shelf": "~0.8.4",
1515
"8fold/php-html-spec": "~0.0.3",
16-
"8fold/commonmark-abbreviations": "~1.2",
17-
"8fold/commonmark-accordions": "~1.0.4",
1816
"nesbot/carbon": "~2.5"
1917
},
2018
"require-dev": {

0 commit comments

Comments
 (0)