Skip to content

Commit e8dfd50

Browse files
Merge pull request #50 from Flutterwave/development
Dependency update
2 parents 527732a + e5d9240 commit e8dfd50

File tree

381 files changed

+8935
-36573
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

381 files changed

+8935
-36573
lines changed

env.example .env.example

File renamed without changes.

.github/workflows/test.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: PHP Test
2+
3+
on:
4+
push:
5+
branches: [ "development" ]
6+
pull_request:
7+
branches: [ "development" ]
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
build:
13+
14+
runs-on: ubuntu-latest
15+
16+
env:
17+
PUBLIC_KEY: ${{ secrets.PUBLIC_KEY }}
18+
SECRET_KEY: ${{ secrets.SECRET_KEY }}
19+
ENCRYPTION_KEY: ${{ secrets.ENCRYPTION_KEY }}
20+
ENV: ${{ secrets.ENV }}
21+
22+
steps:
23+
- uses: actions/checkout@v3
24+
25+
- name: Validate composer.json and composer.lock
26+
run: composer validate --strict
27+
28+
- name: Cache Composer packages
29+
id: composer-cache
30+
uses: actions/cache@v3
31+
with:
32+
path: vendor
33+
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
34+
restore-keys: |
35+
${{ runner.os }}-php-
36+
37+
- name: Install dependencies
38+
run: composer install --prefer-dist --no-progress
39+
40+
- name: PHPStan analysis
41+
run: vendor/bin/phpstan analyse tests --no-progress --no-interaction --error-format=table
42+
43+
- name: Run test suite
44+
run: ./vendor/bin/pest

.gitignore

+8-2
Original file line numberDiff line numberDiff line change
@@ -187,5 +187,11 @@ tmtags
187187
# Local History for Visual Studio Code
188188
.history/
189189

190-
vendor
191-
190+
vendor/
191+
composer.lock
192+
193+
*.log
194+
examples/*.log
195+
examples/endpoint/*.log
196+
example.php
197+
.phpunit.result.cache

0 commit comments

Comments
 (0)