7
7
name : Test
8
8
runs-on : ubuntu-latest
9
9
container :
10
- image : node:18
10
+ image : node:20
11
11
strategy :
12
12
matrix :
13
13
searchdb-host : [elastic7, elastic8, opensearch1, opensearch2]
@@ -25,18 +25,21 @@ jobs:
25
25
image : elasticsearch:7.17.9
26
26
env :
27
27
discovery.type : single-node
28
+ options : --ulimit memlock=-1:-1 --ulimit nofile=65536:65536
28
29
elastic8 :
29
30
image : elasticsearch:8.13.4
30
31
env :
31
32
discovery.type : single-node
32
33
xpack.security.enabled : false
34
+ options : --ulimit memlock=-1:-1 --ulimit nofile=65536:65536
33
35
opensearch1 :
34
36
image : opensearchproject/opensearch:1.3.16
35
37
env :
36
38
discovery.type : single-node
37
39
plugins.security.disabled : true
38
40
OPENSEARCH_JAVA_OPTS : -Xms512m -Xmx512m
39
41
DISABLE_INSTALL_DEMO_CONFIG : true
42
+ options : --ulimit memlock=-1:-1 --ulimit nofile=65536:65536
40
43
opensearch2 :
41
44
image : opensearchproject/opensearch:2.13.0
42
45
env :
@@ -45,13 +48,14 @@ jobs:
45
48
OPENSEARCH_JAVA_OPTS : -Xms512m -Xmx512m
46
49
DISABLE_INSTALL_DEMO_CONFIG : true
47
50
OPENSEARCH_INITIAL_ADMIN_PASSWORD : temba
51
+ options : --ulimit memlock=-1:-1 --ulimit nofile=65536:65536
48
52
49
53
steps :
50
54
- name : Checkout code
51
- uses : actions/checkout@v3
55
+ uses : actions/checkout@v4
52
56
53
57
- name : Install Go
54
- uses : actions/setup-go@v3
58
+ uses : actions/setup-go@v5
55
59
with :
56
60
go-version : ${{ env.go-version }}
57
61
65
69
66
70
- name : Upload coverage
67
71
if : success()
68
- uses : codecov/codecov-action@v3
72
+ uses : codecov/codecov-action@v4
69
73
with :
70
74
token : ${{ secrets.CODECOV_TOKEN }}
71
75
fail_ci_if_error : true
0 commit comments