Skip to content

Update dependencies to address dependabot alerts #22

Update dependencies to address dependabot alerts

Update dependencies to address dependabot alerts #22

Workflow file for this run

name: CI
on:
pull_request_target:
types:
- closed
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Create config.ini
run: |
echo "[shodan]" > config.ini
echo "api_key = ${{ secrets.shodan_api_key }}" >> config.ini
echo "[virustotal]" >> config.ini
echo "api_key = ${{ secrets.virustotal_api_key }}" >> config.ini
echo "[emailrep]" >> config.ini
echo "api_key = ${{ secrets.emailrep_api_key }}" >> config.ini
echo "[abuseipdb]" >> config.ini
echo "api_key = ${{ secrets.abuseipdb_api_key }}" >> config.ini
echo "[greynoise]" >> config.ini
echo "api_key = ${{ secrets.greynoise_api_key }}" >> config.ini
echo "[threatfox]" >> config.ini
echo "api_key = ${{ secrets.threatfox_api_key }}" >> config.ini
echo "[pulsedive]" >> config.ini
echo "api_key = ${{ secrets.pulsedive_api_key }}" >> config.ini
- name: Create Desktop directory
# used for --export test
run: |
mkdir -p ~/Desktop
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies with Poetry
run: |
poetry install
- name: Run Pytest with Poetry
run: |
poetry run pytest -vv