Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
godruoyi committed Apr 7, 2024
1 parent d8bf4d2 commit 063e5cf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
- name: Install Laravel Illuminate Contracts
run: composer require "illuminate/contracts"

- name: Install Predis Package
run: composer require "predis/predis:^2.0"

- name: Code Style
run: vendor/bin/pint --test --config ./pint.json

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,8 @@ jobs:
max_attempts: 3
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress

- name: Install Predis Package
run: composer require "predis/predis:^2.0"

- name: Execute type checking
run: vendor/bin/phpstan
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Based on this, we created this package and integrated multiple sequence-number p
* RandomSequenceResolver (Random)
* FileLockResolver(PHP file lock `fopen/flock`, **Concurrency Safety**
* RedisSequenceResolver (based on redis psetex and incrby, **Concurrency Safety**)
* LaravelSequenceResolver (based on Laravel Cache `add` lock)
* LaravelSequenceResolver (based on Laravel Cache [add](https://github.com/laravel/framework/blob/11.x/src/Illuminate/Contracts/Cache/Repository.php#L39) lock)
* SwooleSequenceResolver (based on swoole_lock)
* PredisSequenceResolver (based on redis psetex and incrby, **Concurrency Safety**)

Expand Down

0 comments on commit 063e5cf

Please sign in to comment.