Skip to content

Add wafbench and e2e to dependabot (#173) #113

Add wafbench and e2e to dependabot (#173)

Add wafbench and e2e to dependabot (#173) #113

Workflow file for this run

name: Benchmark
on:
push:
branches:
- main
paths-ignore:
- "**/*.md"
- "**/*.txt"
- "**/*.yaml"
workflow_dispatch:
jobs:
bench:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5
with:
go-version-file: go.work
cache-dependency-path: |
**/go.sum
build/versions.go
- name: setup re2 for cgo
run: sudo apt-get update && sudo apt-get install -y libre2-dev
- run: go run ./build bench-all
- run: go run ./build wafbench-all
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v3
with:
name: results
path: build/*bench*.txt