Skip to content

Commit dd01010

Browse files
authored
Fix GitHub Actions install steps
1 parent 909aba8 commit dd01010

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: .github/workflows/ci.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ jobs:
4343
runs-on: ubuntu-latest
4444
steps:
4545
- name: Checkout Repository
46-
uses: actions/checkout@v1
46+
uses: actions/checkout@v2
4747
- name: Set up Python 3.8
48-
uses: actions/setup-python@v1
48+
uses: actions/setup-python@v2
4949
with:
5050
python-version: 3.8
5151
- name: Install dependencies
@@ -65,24 +65,24 @@ jobs:
6565

6666
steps:
6767
- name: Checkout Repository
68-
uses: actions/checkout@v1
68+
uses: actions/checkout@v2
6969
- name: Setup Elasticsearch
7070
run: |
7171
mkdir /tmp/elasticsearch
7272
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
7373
/tmp/elasticsearch/bin/elasticsearch -d
7474
- name: Setup Python - ${{ matrix.python-version }}
75-
uses: actions/setup-python@v1
75+
uses: actions/setup-python@v2
7676
with:
7777
python-version: ${{ matrix.python-version }}
7878
- name: Set up Python 3.8 for Nox
7979
if: matrix.python-version != '3.8'
80-
uses: actions/setup-python@v1
80+
uses: actions/setup-python@v2
8181
with:
82-
python-version: 3.8
82+
python-version: 3
8383
- name: Install dependencies
8484
run: |
85-
python3.8 -m pip install nox
85+
python3 -m pip install nox
8686
- name: Run Tests
8787
run: |
8888
nox -rs test-${{ matrix.python-version }}

0 commit comments

Comments
 (0)