mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-26 08:55:30 +00:00
* ci: refactor workflows Signed-off-by: Dwi Siswanto <git@dw1.io> * chore: structured build outputs Signed-off-by: Dwi Siswanto <git@dw1.io> * feat: use `go-ci` Signed-off-by: Dwi Siswanto <git@dw1.io> * chore(make): misused var for `vet` cmd Signed-off-by: Dwi Siswanto <git@dw1.io> --------- Signed-off-by: Dwi Siswanto <git@dw1.io>
26 lines
667 B
YAML
26 lines
667 B
YAML
name: 🔨 Performance Test
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * 0' # Weekly
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
perf-test:
|
|
strategy:
|
|
matrix:
|
|
count: [50, 100, 150]
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'projectdiscovery/nuclei'
|
|
env:
|
|
LIST_FILE: "/tmp/targets-${{ matrix.count }}.txt"
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: projectdiscovery/actions/setup/go@v1
|
|
- run: make verify
|
|
- name: Generate list
|
|
run: for i in {1..${{ matrix.count }}}; do echo "https://scanme.sh/?_=${i}" >> "${LIST_FILE}"; done
|
|
- run: go run -race . -l "${LIST_FILE}"
|
|
working-directory: cmd/nuclei/
|
|
|