diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f019de0..1190132 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -5,6 +5,12 @@ on: [push, pull_request] jobs: test: runs-on: ${{ matrix.os }} + services: + redis: + image: redis:${{ matrix.redis }} + ports: + - 6379:6379 + options: --entrypoint redis-server strategy: fail-fast: false matrix: @@ -25,11 +31,6 @@ jobs: - name: Checkout code uses: actions/checkout@v1 - - name: Setup Redis ${{ matrix.redis }} - uses: supercharge/redis-github-action@1.1.0 - with: - redis-version: ${{ matrix.redis }} - - name: Cache dependencies uses: actions/cache@v1 with: