fix: initialize python version before doing anything else in GHA

pull/904/head
Raphaël Vinot 2024-03-28 17:00:40 +01:00
parent 9ffe9f23e9
commit cfcb585c0e
3 changed files with 7 additions and 7 deletions

View File

@ -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:

View File

@ -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

View File

@ -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: