mirror of https://github.com/CIRCL/lookyloo
fix: initialize python version before doing anything else in GHA
parent
9ffe9f23e9
commit
cfcb585c0e
|
@ -18,15 +18,15 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install poetry
|
|
||||||
run: pipx install poetry
|
|
||||||
|
|
||||||
- name: Set up Python ${{matrix.python-version}}
|
- name: Set up Python ${{matrix.python-version}}
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{matrix.python-version}}
|
python-version: ${{matrix.python-version}}
|
||||||
cache: 'poetry'
|
cache: 'poetry'
|
||||||
|
|
||||||
|
- name: Install poetry
|
||||||
|
run: pipx install poetry
|
||||||
|
|
||||||
- name: Clone Redis
|
- name: Clone Redis
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -18,15 +18,15 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install poetry
|
|
||||||
run: pipx install poetry
|
|
||||||
|
|
||||||
- name: Set up Python ${{matrix.python-version}}
|
- name: Set up Python ${{matrix.python-version}}
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{matrix.python-version}}
|
python-version: ${{matrix.python-version}}
|
||||||
cache: 'poetry'
|
cache: 'poetry'
|
||||||
|
|
||||||
|
- name: Install poetry
|
||||||
|
run: pipx install poetry
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt install libfuzzy-dev libmagic1
|
sudo apt install libfuzzy-dev libmagic1
|
||||||
|
|
|
@ -151,7 +151,7 @@ class MISP(AbstractModule):
|
||||||
|
|
||||||
def module_init(self) -> bool:
|
def module_init(self) -> bool:
|
||||||
if not self.config.get('apikey'):
|
if not self.config.get('apikey'):
|
||||||
self.logger.info('No API key: {self.config}.')
|
self.logger.info(f'No API key: {self.config}.')
|
||||||
return False
|
return False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue