Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyPHP committed Nov 29, 2023
1 parent 5c8eaff commit 8b41958
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 61 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/composer.lock export-ignore
/docs export-ignore
/phpunit.xml export-ignore
/tests export-ignore
/tests export-ignore
23 changes: 14 additions & 9 deletions .github/workflows/php.yml → .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PHP Composer
name: Tests

on:
push:
Expand All @@ -7,26 +7,31 @@ on:
branches: [ master ]

jobs:
build:

tests:
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- "8.1"
- "8.3"

steps:
- uses: actions/checkout@v2
- uses: "actions/checkout@v3"
- uses: "shivammathur/setup-php@v2"
with:
php-version: ${{ matrix.php-version }}

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

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}

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

- name: Run test suite
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
"test": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text"
},
"bin": ["bin/repdoc"]
}
}
104 changes: 54 additions & 50 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8b41958

Please sign in to comment.