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

Update dependencies and CI/CD #72

Merged
merged 1 commit into from
Aug 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: PHP Composer

on:
push:
branches:
Expand All @@ -14,13 +13,19 @@ jobs:
runs-on: ubuntu-latest

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

- name: Setup PHP Action
uses: shivammathur/[email protected]
with:
php-version: '7.4'

- name: Validate composer.json and composer.lock
run: composer validate

# - name: Install dependencies
# run: composer install --prefer-dist --no-progress --no-suggest
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

# - name: Run test suite
# run: vendor/bin/phpunit
- name: Run test suite
run: vendor/bin/phpunit
31 changes: 31 additions & 0 deletions .github/workflows/php8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: PHP Composer
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:

runs-on: ubuntu-latest

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

- name: Setup PHP Action
uses: shivammathur/[email protected]
with:
php-version: '8.0'

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run test suite
run: vendor/bin/phpunit
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
],
"require": {
"php": "~7.0|^8.0",
"8fold/php-shoop-shelf": "~0.8",
"8fold/php-shoop-shelf": "~0.8.4",
"8fold/php-html-spec": "~0.0.3",
"8fold/commonmark-abbreviations": "~1.2",
"8fold/commonmark-accordions": "~1.0.4",
"nesbot/carbon": "~2.5"
},
"require-dev": {
Expand Down