CI improvements (#327)

* Add permissions on GitHub workflows tokens to avoid misuse and leak

* Bump docker actions

* Bump elasticsearch version
This commit is contained in:
William Desportes authored and GitHub committed 2022-06-20 09:49:43 -04:00
1 parent a496b4e42a
commit 9381381f40
2 files changed
+11 -3

No files matched your search

+4 -1
View File
@@ -1,5 +1,8 @@
name: Python tests
permissions:
contents: read
on:
push:
branches: [ master ]
@@ -21,7 +24,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y libemail-outlook-message-perl
curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.16.2-amd64.deb
curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.2.2-amd64.deb
sudo dpkg -i --force-confnew elasticsearch-*.deb
sudo systemctl restart elasticsearch
sudo systemctl --no-pager status elasticsearch