File tree Expand file tree Collapse file tree 1 file changed +6
-20
lines changed Expand file tree Collapse file tree 1 file changed +6
-20
lines changed Original file line number Diff line number Diff line change 14
14
run : |
15
15
sudo apt-get -qq update
16
16
sudo apt-get install autoconf automake pkg-config libevent-dev libpcre3-dev libssl-dev
17
+
17
18
- name : Build
18
19
run : autoreconf -ivf && ./configure && make -j
19
20
- name : Setup Python
@@ -25,27 +26,12 @@ jobs:
25
26
- name : Install Python dependencies
26
27
run : pip install -r ./tests/test_requirements.txt
27
28
28
- - name : Cache Redis
29
- id : cache-redis
30
- uses : actions/cache@v1
31
- with :
32
- path : /home/runner/work/redis
33
- key : ${{ runner.os }}-redis
34
-
35
- - name : Check out Redis
36
- if : steps.cache-redis.outputs.cache-hit != 'true'
37
- uses : actions/checkout@v3
38
- with :
39
- repository : ' redis/redis'
40
- ref : ' unstable'
41
- path : ' redis'
42
-
43
- - name : Build and run Redis
44
- if : steps.cache-redis.outputs.cache-hit != 'true'
29
+ - name : Install Redis
45
30
run : |
46
- cd redis
47
- make BUILD_TLS=yes -j
48
- ./src/redis-server --version
31
+ curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
32
+ echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
33
+ sudo apt-get -qq update
34
+ sudo apt-get install redis
49
35
50
36
- name : Generate TLS test certificates
51
37
if : matrix.platform == 'ubuntu-latest'
You can’t perform that action at this time.
0 commit comments