mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-03-04 13:56:26 +00:00
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:
committed by
GitHub
parent
a496b4e42a
commit
9381381f40
5
.github/workflows/python-tests.yml
vendored
5
.github/workflows/python-tests.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user