chore(deps): bump github.com/projectdiscovery/retryablehttp-go from 1.0.86 to 1.0.87 in /v2 #1828
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |