Fix compile time deprecation warnings (#135) #140
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: | |
- master | |
pull_request: | |
jobs: | |
bench: | |
strategy: | |
matrix: | |
script_file: | |
- 'bench.binary.exs' | |
- 'bench.stream.exs' | |
- 'bench.simple_form.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.14' | |
otp-version: '25' | |
- 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 }} |