Skip to content

Commit

Permalink
fix: initialize python version before doing anything else in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Mar 28, 2024
1 parent 9ffe9f2 commit cfcb585
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/instance_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lookyloo/modules/misp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cfcb585

Please sign in to comment.