Skip to content

Commit 659b248

Browse files
authored
CI: Fix issue with git checkout. (#175)
1 parent d0c6c55 commit 659b248

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,21 @@ jobs:
4040
path: /home/runner/work/memtier_benchmark/memtier_benchmark/redis
4141
key: ${{ runner.os }}-redis
4242

43-
- name: Install Redis Server test dependencies
43+
- name: Check out Redis
44+
if: steps.cache-redis.outputs.cache-hit != 'true'
45+
uses: actions/checkout@v3
46+
with:
47+
repository: 'redis/redis'
48+
ref: 'unstable'
49+
path: 'redis'
50+
51+
- name: Build and run Redis
4452
if: steps.cache-redis.outputs.cache-hit != 'true'
4553
run: |
46-
git clone git://github.com/antirez/redis.git --branch unstable
4754
cd redis
4855
make BUILD_TLS=yes
4956
./utils/gen-test-certs.sh
5057
./src/redis-server --version
51-
cd ..
5258
5359
- name: Test OSS TCP
5460
run: |

0 commit comments

Comments
 (0)