diff --git a/.github/workflows/container-name.yml b/.github/workflows/container-name.yml new file mode 100644 index 0000000..5a0034a --- /dev/null +++ b/.github/workflows/container-name.yml @@ -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 diff --git a/.github/workflows/custom-port.yml b/.github/workflows/custom-port.yml new file mode 100644 index 0000000..cf4ecef --- /dev/null +++ b/.github/workflows/custom-port.yml @@ -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 diff --git a/.github/workflows/fallback-to-latest-version.yml b/.github/workflows/fallback-to-latest-version.yml index 1628fd6..9abdfcc 100644 --- a/.github/workflows/fallback-to-latest-version.yml +++ b/.github/workflows/fallback-to-latest-version.yml @@ -1,4 +1,4 @@ -name: Start Redis Server with latest version +name: Start Redis server with latest version on: [push, pull_request] diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 22d53da..ca458a3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Start Redis Server +name: Start Redis server on: [push, pull_request]