Skip to content

Bump ex_doc from 0.40.3 to 0.40.4 #1372

Bump ex_doc from 0.40.3 to 0.40.4

Bump ex_doc from 0.40.3 to 0.40.4 #1372

Workflow file for this run

name: Benchmark
on:
pull_request:
types: [ opened, reopened, synchronize, labeled ]
env:
MIX_ENV: test
jobs:
benchmark:
if: contains(github.event.pull_request.labels.*.name, 'benchmark')
runs-on: ubuntu-latest
steps:
- name: Install nghttp2
run: sudo apt-get install nghttp2
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: mtrudel/benchmark
- name: Setup Elixir
uses: erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124 # v1.24.1
with:
elixir-version: 1.18.x
otp-version: 27.1
- name: Install mix dependencies
run: mix deps.get
- name: Compile code
run: mix compile
- name: Run benchmark against base branch
run: mix benchmark bandit@${{ github.event.pull_request.base.repo.clone_url }}@${{ github.event.pull_request.base.ref }} bandit@${{ github.event.pull_request.head.repo.clone_url }}@${{ github.event.pull_request.head.sha }}
- name: Upload results file
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: http-benchmark.csv
path: http-benchmark.csv
- name: Record summary output
id: summary
run: cat http-summary.md >> $GITHUB_STEP_SUMMARY