43
43
runs-on : ubuntu-latest
44
44
steps :
45
45
- name : Checkout Repository
46
- uses : actions/checkout@v1
46
+ uses : actions/checkout@v2
47
47
- name : Set up Python 3.8
48
- uses : actions/setup-python@v1
48
+ uses : actions/setup-python@v2
49
49
with :
50
50
python-version : 3.8
51
51
- name : Install dependencies
@@ -65,24 +65,24 @@ jobs:
65
65
66
66
steps :
67
67
- name : Checkout Repository
68
- uses : actions/checkout@v1
68
+ uses : actions/checkout@v2
69
69
- name : Setup Elasticsearch
70
70
run : |
71
71
mkdir /tmp/elasticsearch
72
72
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
73
73
/tmp/elasticsearch/bin/elasticsearch -d
74
74
- name : Setup Python - ${{ matrix.python-version }}
75
- uses : actions/setup-python@v1
75
+ uses : actions/setup-python@v2
76
76
with :
77
77
python-version : ${{ matrix.python-version }}
78
78
- name : Set up Python 3.8 for Nox
79
79
if : matrix.python-version != '3.8'
80
- uses : actions/setup-python@v1
80
+ uses : actions/setup-python@v2
81
81
with :
82
- python-version : 3.8
82
+ python-version : 3
83
83
- name : Install dependencies
84
84
run : |
85
- python3.8 -m pip install nox
85
+ python3 -m pip install nox
86
86
- name : Run Tests
87
87
run : |
88
88
nox -rs test-${{ matrix.python-version }}
0 commit comments