Support attributes and direct element content in Builder #76
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: Benchmarking | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
bench: | |
strategy: | |
matrix: | |
script_file: | |
- "bench.binary.exs" | |
- "bench.stream.exs" | |
- "bench.encoder.exs" | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: bench | |
name: ${{ matrix.script_file }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: "1.17" | |
otp-version: "27" | |
- name: Install Dependencies | |
run: | | |
mix local.rebar --force | |
mix local.hex --force | |
mix deps.get | |
mix compile | |
- name: Benchmark | |
run: mix run ${{ matrix.script_file }} |