mirror of
https://github.com/laramies/theHarvester.git
synced 2026-09-22 17:44:57 +02:00
Merge pull request #2220
* support python 3.14 * fix syntax warnings * bump dockerfile to 3.14, optimize build time + size
This commit is contained in:
@@ -6,6 +6,8 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- name: Build the Docker image
|
||||
run: docker build . --file Dockerfile --tag theharvester:$(date +%s)
|
||||
- uses: actions/checkout@v6
|
||||
- name: Build the Docker image
|
||||
run: docker build --tag theharvester .
|
||||
- name: Smoke test
|
||||
run: docker run --rm theharvester --help | grep restfulHarvest
|
||||
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
max-parallel: 10
|
||||
matrix:
|
||||
os: [ ubuntu-latest ]
|
||||
python-version: [ '3.12', '3.13', '3.14.0' ]
|
||||
python-version: [ '3.12', '3.13', '3.14' ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
@@ -34,17 +34,14 @@ jobs:
|
||||
sudo chown -R runner:runner /usr/local/etc/theHarvester/
|
||||
uv sync --all-groups --frozen
|
||||
echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
|
||||
continue-on-error: ${{ matrix.python-version == '3.14.0' }}
|
||||
|
||||
- name: Lint with ruff
|
||||
run: |
|
||||
ruff check --fix
|
||||
continue-on-error: ${{ matrix.python-version == '3.14.0' }}
|
||||
|
||||
- name: Format with ruff
|
||||
run: |
|
||||
ruff format
|
||||
continue-on-error: ${{ matrix.python-version == '3.14.0' }}
|
||||
|
||||
- name: Commit changes for ruff formating and linting
|
||||
if: github.event_name == 'push'
|
||||
@@ -60,54 +57,43 @@ jobs:
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest tests/**
|
||||
continue-on-error: ${{ matrix.python-version == '3.14.0' }}
|
||||
|
||||
- name: Run theHarvester module Baidu
|
||||
run: |
|
||||
theHarvester -d yale.edu -b baidu
|
||||
continue-on-error: ${{ matrix.python-version == '3.14.0' }}
|
||||
|
||||
- name: Run theHarvester module CertSpotter
|
||||
run: |
|
||||
theHarvester -d yale.edu -b certspotter
|
||||
continue-on-error: ${{ matrix.python-version == '3.14.0' }}
|
||||
|
||||
- name: Run theHarvester module Crtsh
|
||||
run: |
|
||||
theHarvester -d hcl.com -b crtsh
|
||||
continue-on-error: ${{ matrix.python-version == '3.14.0' }}
|
||||
|
||||
- name: Run theHarvester module DuckDuckGo
|
||||
run: |
|
||||
theHarvester -d yale.edu -b duckduckgo
|
||||
continue-on-error: ${{ matrix.python-version == '3.14.0' }}
|
||||
|
||||
- name: Run theHarvester module HackerTarget
|
||||
run: |
|
||||
theHarvester -d yale.edu -b hackertarget
|
||||
continue-on-error: ${{ matrix.python-version == '3.14.0' }}
|
||||
|
||||
- name: Run theHarvester module Otx
|
||||
run: |
|
||||
theHarvester -d yale.edu -b otx
|
||||
continue-on-error: ${{ matrix.python-version == '3.14.0' }}
|
||||
|
||||
- name: Run theHarvester module RapidDns
|
||||
run: |
|
||||
theHarvester -d yale.edu -b rapiddns
|
||||
continue-on-error: ${{ matrix.python-version == '3.14.0' }}
|
||||
|
||||
- name: Run theHarvester module Urlscan
|
||||
run: |
|
||||
theHarvester -d yale.edu -b urlscan
|
||||
continue-on-error: ${{ matrix.python-version == '3.14.0' }}
|
||||
|
||||
- name: Run theHarvester module Yahoo
|
||||
run: |
|
||||
theHarvester -d yale.edu -b yahoo
|
||||
continue-on-error: ${{ matrix.python-version == '3.14.0' }}
|
||||
|
||||
- name: Run theHarvester module DNS brute force
|
||||
run: |
|
||||
theHarvester -d yale.edu -c
|
||||
continue-on-error: ${{ matrix.python-version == '3.14.0' }}
|
||||
|
||||
Reference in New Issue
Block a user