8
8
runs-on : ubuntu-latest
9
9
steps :
10
10
- name : Checkout Repository
11
- uses : actions/checkout@v1
12
- - name : Set up Python 3.8
13
- uses : actions/setup-python@v1
11
+ uses : actions/checkout@v3
12
+ - name : Set up Python
13
+ uses : actions/setup-python@v4
14
14
with :
15
- python-version : 3.8
15
+ python-version : " 3.11 "
16
16
- name : Install dependencies
17
17
run : |
18
- python3.8 -m pip install setuptools wheel twine
18
+ python3 -m pip install setuptools wheel twine
19
19
- name : Build packages
20
20
run : |
21
- python3.8 utils/build-dists.py
21
+ python3 utils/build-dists.py
22
22
- name : Check packages
23
23
run : |
24
24
set -exo pipefail;
25
- if [ $(python3.8 -m twine check dist/* | grep -c 'warning') != 0 ]; then exit 1; fi
25
+ if [ $(python3 -m twine check dist/* | grep -c 'warning') != 0 ]; then exit 1; fi
26
26
27
27
lint :
28
28
runs-on : ubuntu-latest
29
29
steps :
30
30
- name : Checkout Repository
31
- uses : actions/checkout@v1
32
- - name : Set up Python 3.8
33
- uses : actions/setup-python@v1
31
+ uses : actions/checkout@v3
32
+ - name : Set up Python
33
+ uses : actions/setup-python@v4
34
34
with :
35
- python-version : 3.8
35
+ python-version : " 3.11 "
36
36
- name : Install dependencies
37
37
run : |
38
- python3.8 -m pip install nox
38
+ python3 -m pip install nox
39
39
- name : Lint the code
40
40
run : nox -s lint
41
41
42
42
docs :
43
43
runs-on : ubuntu-latest
44
44
steps :
45
45
- name : Checkout Repository
46
- uses : actions/checkout@v2
47
- - name : Set up Python 3.8
48
- uses : actions/setup-python@v2
46
+ uses : actions/checkout@v3
47
+ - name : Set up Python
48
+ uses : actions/setup-python@v4
49
49
with :
50
- python-version : 3.8
50
+ python-version : " 3.11 "
51
51
- name : Install dependencies
52
52
run : |
53
- python3.8 -m pip install nox
53
+ python3 -m pip install nox
54
54
- name : Build the docs
55
55
run : nox -s docs
56
56
@@ -65,24 +65,26 @@ jobs:
65
65
" 3.7" ,
66
66
" 3.8" ,
67
67
" 3.9" ,
68
+ " 3.10" ,
69
+ " 3.11" ,
68
70
]
69
71
es-version : [7.0.0, 7.10.0]
70
72
71
73
steps :
72
74
- name : Checkout Repository
73
- uses : actions/checkout@v2
75
+ uses : actions/checkout@v3
74
76
- name : Setup Elasticsearch
75
77
run : |
76
78
mkdir /tmp/elasticsearch
77
79
wget -O - https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${{ matrix.es-version }}-linux-x86_64.tar.gz | tar xz --directory=/tmp/elasticsearch --strip-components=1
78
80
/tmp/elasticsearch/bin/elasticsearch -d
79
81
- name : Setup Python - ${{ matrix.python-version }}
80
- uses : actions/setup-python@v2
82
+ uses : actions/setup-python@v4
81
83
with :
82
84
python-version : ${{ matrix.python-version }}
83
- - name : Set up Python 3.8 for Nox
84
- if : matrix.python-version != '3.8 '
85
- uses : actions/setup-python@v2
85
+ - name : Set up Python for Nox
86
+ if : matrix.python-version != '3.11 '
87
+ uses : actions/setup-python@v4
86
88
with :
87
89
python-version : 3
88
90
- name : Install dependencies
0 commit comments