Skip to content

Commit

Permalink
Update README.md + GHActions
Browse files Browse the repository at this point in the history
  • Loading branch information
byjg committed Jan 4, 2024
1 parent 9648354 commit caea6df
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/phpunit.yml
Expand Up @@ -36,16 +36,16 @@ jobs:
--health-retries 5
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: composer install
- run: ./vendor/bin/phpunit

# Documentation:
# runs-on: 'ubuntu-latest'
# needs: Build
# if: github.ref == 'refs/heads/main'
# env:
# DOC_GITHUB_TOKEN: '${{ secrets.DOC_TOKEN }}'
# steps:
# - uses: actions/checkout@v3
# - run: curl https://opensource.byjg.com/add-doc.sh | bash /dev/stdin php message-queue-client
Documentation:
if: github.ref == 'refs/heads/main'
needs: Build
uses: byjg/byjg.github.io/.github/workflows/add-doc.yaml@master
with:
folder: php
project: ${{ github.event.repository.name }}
secrets: inherit

6 changes: 6 additions & 0 deletions README.md
@@ -1,5 +1,11 @@
# Redis Queue Client

[![Build Status](https://github.com/byjg/php-redis-queue-client/actions/workflows/phpunit.yml/badge.svg?branch=main)](https://github.com/byjg/php-redis-queue-client/actions/workflows/phpunit.yml)
[![Opensource ByJG](https://img.shields.io/badge/opensource-byjg-success.svg)](http://opensource.byjg.com)
[![GitHub source](https://img.shields.io/badge/Github-source-informational?logo=github)](https://github.com/byjg/php-redis-queue-client/)
[![GitHub license](https://img.shields.io/github/license/byjg/php-redis-queue-client.svg)](https://opensource.byjg.com/opensource/licensing.html)
[![GitHub release](https://img.shields.io/github/release/byjg/php-redis-queue-client.svg)](https://github.com/byjg/php-redis-queue-client/releases/)

It creates a simple abstraction layer to publish and consume messages from the Redis using the component [byjg/message-queue-client](https://github.com/byjg/message-queue-client).

For details on how to use the Message Queue Client see the [documentation](https://github.com/byjg/message-queue-client)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -12,7 +12,7 @@
"php": ">=7.4",
"ext-curl": "*",
"ext-redis": "*",
"byjg/message-queue-client": "4.9.x-dev"
"byjg/message-queue-client": "4.9.*"
},
"require-dev": {
"phpunit/phpunit": "5.7.*|7.4.*|^9.5"
Expand Down

0 comments on commit caea6df

Please sign in to comment.