Fix Hammer.check_rate
and Hammer.check_rate_inc
remapping info in migration guide
#182
Workflow file for this run
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: CI | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
jobs: | |
test: | |
runs-on: ubuntu-24.04 | |
env: | |
MIX_ENV: test | |
strategy: | |
# https://hexdocs.pm/elixir/compatibility-and-deprecations.html#between-elixir-and-erlang-otp | |
matrix: | |
elixir: [1.17, 1.16, 1.15] | |
otp: [26, 25] | |
include: | |
- elixir: 1.18 | |
otp: 27 | |
- elixir: 1.17 | |
otp: 27 | |
- elixir: 1.14 | |
otp: 25 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{matrix.otp}} | |
elixir-version: ${{matrix.elixir}} | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
deps | |
_build | |
key: test-otp-${{ matrix.otp }}-elixir-${{ matrix.elixir }}-ref-${{ github.head_ref || github.ref }}-mix-${{ hashFiles('**/mix.lock') }} | |
restore-keys: | | |
test-otp-${{ matrix.otp }}-elixir-${{ matrix.elixir }}-ref-${{ github.head_ref || github.ref }}-mix- | |
test-otp-${{ matrix.otp }}-elixir-${{ matrix.elixir }}-ref-refs/heads/master-mix- | |
- run: mix deps.get | |
- run: mix deps.unlock --check-unused | |
- run: mix deps.compile | |
- run: mix compile --warnings-as-errors | |
- run: mix credo --strict --format=oneline | |
- run: mix test --warnings-as-errors --cover | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: 1 | |
otp-version: 27 | |
- run: mix format --check-formatted |