Skip to content

chore(deps): bump github.com/projectdiscovery/hmap from 0.0.66 to 0.0.67 in /v2 #1826

chore(deps): bump github.com/projectdiscovery/hmap from 0.0.66 to 0.0.67 in /v2

chore(deps): bump github.com/projectdiscovery/hmap from 0.0.66 to 0.0.67 in /v2 #1826

Workflow file for this run

name: 🧪 Functional Test
on:
pull_request:
paths:
- '**.go'
- '**.mod'
workflow_dispatch:
jobs:
functional:
name: Functional Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest] # Todo: windows-latest, macOS-latest
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Check out code
uses: actions/checkout@v4
- name: Install required packages (libpcap-dev, nmap, simplehttpserver)
run: |
sudo apt install libpcap-dev
sudo apt install nmap
go install -race github.com/projectdiscovery/simplehttpserver/cmd/simplehttpserver@latest
- name: Run the simplehttpserver on 127.0.0.1:8000
run: |
export PATH=$PATH:$(go env GOPATH)/bin
simplehttpserver -listen 127.0.0.1:8000 &
- name: Functional Tests
run: |
chmod +x run.sh
bash run.sh
working-directory: v2/cmd/functional-test