refine actions

pull/7/head
Marcus Pöhls 2021-12-28 07:06:16 +01:00
parent 565a44b205
commit 0db4d96140
4 changed files with 44 additions and 2 deletions

21
.github/workflows/container-name.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Start Redis server with custom container name
on: [push, pull_request]
jobs:
redis-action:
runs-on: ubuntu-latest
strategy:
matrix:
redis-version: [4, 5, 6]
name: Start Redis Server v${{ matrix.redis-version }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Start Redis Server
uses: ./
with:
redis-version: ${{ matrix.redis-version }}
redis-container-name: redis-auth-token-cache

21
.github/workflows/custom-port.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Start Redis server on custom port
on: [push, pull_request]
jobs:
redis-action:
runs-on: ubuntu-latest
strategy:
matrix:
redis-version: [4, 5, 6]
name: Start Redis Server v${{ matrix.redis-version }}
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Start Redis Server
uses: ./
with:
redis-version: ${{ matrix.redis-version }}
redis-port: 12345

View File

@ -1,4 +1,4 @@
name: Start Redis Server with latest version name: Start Redis server with latest version
on: [push, pull_request] on: [push, pull_request]

View File

@ -1,4 +1,4 @@
name: Start Redis Server name: Start Redis server
on: [push, pull_request] on: [push, pull_request]