Skip to content

Commit

Permalink
Use supercharge/redis-github-action (#131)
Browse files Browse the repository at this point in the history
Use supercharge/redis-github-action
  • Loading branch information
puneetbehl authored Nov 25, 2023
1 parent 1f9ef0c commit 5446e93
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,22 @@ on:
- '[3-9]+.[0-9]+.x'
workflow_dispatch:
jobs:
container-job:
build:
runs-on: ubuntu-latest
container: node:10.22-jessie
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
matrix:
redis-version: [6, 7]
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
- name: Setup Redis
uses: supercharge/redis-github-action@1.7.0
with:
redis-version: ${{ matrix.redis-version }}
- name: Run Build
id: build
uses: gradle/gradle-build-action@v2
Expand Down

0 comments on commit 5446e93

Please sign in to comment.