{"repo":"supercharge/redis-github-action","free":true,"listed":false,"github":"https://github.com/supercharge/redis-github-action","clone":"git clone https://github.com/supercharge/redis-github-action.git","description":"Use Redis in GitHub Actions","language":"Shell","stars":110,"topics":["redis","github-actions","github-actions-docker","supercharge"],"license":"MIT","category":"databases-storage","readme_excerpt":"Redis in GitHub Actions Start a Redis server in your GitHub Actions. Usage Follow @marcuspoehls and @superchargejs for updates! --- Introduction This GitHub Action starts a Redis server on the default port 6379 . This is useful when running tests against a Redis database. Usage A code example says more than 1,000 words. Here’s an exemplary GitHub Action using a Redis server in versions 4 and 5 to test a Node.js app: Using a Custom Redis Image You can utilize an alternative Redis image using the redis-image input: Using Redis on a Custom Port You can start the Redis instance on a custom port using the redis-port input: Using a Custom Container Name This GitHub Action provides a Redis Docker container. The default container name is redis . It can be helpful to customize the container name. For example, when running multiple Redis instances in parallel. You can customize the container name using the redis-container-name input: Using Authentication Starting in v1.7.0, You can start the Redis with Authentication using the redis-password input: Remove Docker Container on Exit Starting in v1.9.0, when running this action on a self-hosted runner, it’s helpful to remove the container so its name won’t conflict: License MIT © Supercharge --- superchargejs.com &nbsp;&middot;&nbsp; GitHub @supercharge &nbsp;&middot;&nbsp; Twitter @superchargejs","default_branch":null,"files":null,"tree":[],"storefront":"/r/supercharge","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/supercharge/redis-github-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}