Skip to content

Commit

Permalink
refine actions
Browse files Browse the repository at this point in the history
  • Loading branch information
marcuspoehls committed Dec 28, 2021
1 parent 565a44b commit 0db4d96
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/container-name.yml
Original file line number Diff line number Diff line change
@@ -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 changes: 21 additions & 0 deletions .github/workflows/custom-port.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/fallback-to-latest-version.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Start Redis Server with latest version
name: Start Redis server with latest version

on: [push, pull_request]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Start Redis Server
name: Start Redis server

on: [push, pull_request]

Expand Down

0 comments on commit 0db4d96

Please sign in to comment.