Skip to content

Commit

Permalink
Merge branch 'release/1.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
cerbero90 committed Jun 16, 2023
2 parents f135329 + d0aa669 commit bf7dba4
Show file tree
Hide file tree
Showing 86 changed files with 5,622 additions and 101 deletions.
37 changes: 30 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.0, 8.1]
dependency-version: [prefer-stable]
php: [8.1, 8.2]
dependency-version: [prefer-lowest, prefer-stable]
os: [ubuntu-latest]

name: PHP ${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
Expand All @@ -25,15 +25,15 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: json, mbstring
extensions: simdjson
tools: composer:v2
coverage: none

- name: Install dependencies
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction

- name: Execute tests
run: vendor/bin/pest --verbose
run: vendor/bin/pest

coverage:
runs-on: ubuntu-latest
Expand All @@ -49,8 +49,8 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
extensions: json, mbstring
php-version: 8.1
extensions: simdjson
tools: composer:v2
coverage: xdebug

Expand All @@ -75,9 +75,32 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
tools: phpcs
coverage: none

- name: Execute check
run: phpcs --standard=psr12 src/

static:
runs-on: ubuntu-latest

name: Static analysis

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

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
extensions: simdjson
tools: composer:v2
coverage: none

- name: Install dependencies
run: composer update --prefer-stable --prefer-dist --no-interaction

- name: Execute check
run: vendor/bin/phpstan analyse
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ composer.lock
vendor
phpcs.xml
phpunit.xml
.phpunit.cache
.phpunit.result.cache
1 change: 1 addition & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
build:
nodes:
analysis:
image: default-bionic
project_setup:
override: true
tests:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ Updates should follow the [Keep a CHANGELOG](https://keepachangelog.com/) princi

### Security
- Nothing


## 1.0.0 - 2023-06-16

### Added
- First release of JSON Parser

0 comments on commit bf7dba4

Please sign in to comment.