mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 16:15:27 +00:00
Bumps the workflows group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [actions/stale](https://github.com/actions/stale). Updates `actions/checkout` from 4 to 5 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) Updates `actions/stale` from 9 to 10 - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v9...v10) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: workflows - dependency-name: actions/stale dependency-version: '10' dependency-type: direct:production update-type: version-update:semver-major dependency-group: workflows ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
name: 🔨 Performance Regression
|
|
|
|
on:
|
|
workflow_call:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
perf-regression:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'projectdiscovery/nuclei'
|
|
env:
|
|
BENCH_OUT: "/tmp/bench.out"
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: projectdiscovery/actions/setup/go@v1
|
|
- run: make build-test
|
|
- run: ./bin/nuclei.test -test.run - -test.bench=. -test.benchmem ./cmd/nuclei/ | tee $BENCH_OUT
|
|
env:
|
|
DISABLE_STDOUT: "1"
|
|
- uses: actions/cache/restore@v4
|
|
with:
|
|
path: ./cache
|
|
key: ${{ runner.os }}-benchmark
|
|
- uses: benchmark-action/github-action-benchmark@v1
|
|
with:
|
|
name: 'RunEnumeration Benchmark'
|
|
tool: 'go'
|
|
output-file-path: ${{ env.BENCH_OUT }}
|
|
external-data-json-path: ./cache/benchmark-data.json
|
|
fail-on-alert: false
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
comment-on-alert: true
|
|
summary-always: true
|
|
- uses: actions/cache/save@v4
|
|
if: github.event_name == 'push'
|
|
with:
|
|
path: ./cache
|
|
key: ${{ runner.os }}-benchmark
|