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