Release v0.7.2 #124
This file contains hidden or 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: Test | |
| on: | |
| pull_request: | |
| branches: | |
| - "main" | |
| push: | |
| branches: | |
| - "main" | |
| jobs: | |
| format: | |
| name: Check formatting | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: "28" | |
| elixir-version: "1.18.4" | |
| - uses: actions/cache@v4 | |
| name: Cache dependencies | |
| with: | |
| path: | | |
| deps | |
| key: deps-${{ hashFiles('mix.lock') }} | |
| restore-keys: | | |
| deps-${{ hashFiles('mix.lock') }} | |
| deps- | |
| - run: mix deps.get | |
| - run: mix format --check-formatted | |
| test: | |
| name: Test on Elixir ${{ matrix.elixir }} (OTP ${{ matrix.otp }}) | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - otp: 25 | |
| elixir: 1.15.8 | |
| - otp: 26 | |
| elixir: 1.16.3 | |
| - otp: 27 | |
| elixir: 1.17.3 | |
| - otp: 28 | |
| elixir: 1.18.4 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: ${{ matrix.otp }} | |
| elixir-version: ${{ matrix.elixir }} | |
| - uses: actions/cache@v4 | |
| name: Cache dependencies | |
| with: | |
| path: | | |
| deps | |
| key: deps-${{ hashFiles('mix.lock') }} | |
| restore-keys: | | |
| deps-${{ hashFiles('mix.lock') }} | |
| deps- | |
| - run: mix deps.get | |
| - uses: actions/cache@v4 | |
| name: Cache build | |
| with: | |
| path: | | |
| _build | |
| key: build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('mix.lock') }} | |
| restore-keys: | | |
| build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('mix.lock') }} | |
| build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}- | |
| - run: mix test | |
| dialyze: | |
| name: Dialyze on Elixir ${{ matrix.elixir }} (OTP ${{ matrix.otp }}) | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - otp: 25 | |
| elixir: 1.15.8 | |
| - otp: 26 | |
| elixir: 1.16.3 | |
| - otp: 27 | |
| elixir: 1.17.3 | |
| - otp: 28 | |
| elixir: 1.18.4 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: ${{ matrix.otp }} | |
| elixir-version: ${{ matrix.elixir }} | |
| - uses: actions/cache@v4 | |
| name: Cache dependencies | |
| with: | |
| path: | | |
| deps | |
| key: deps-${{ hashFiles('mix.lock') }} | |
| restore-keys: | | |
| deps-${{ hashFiles('mix.lock') }} | |
| deps- | |
| - run: mix deps.get | |
| - uses: actions/cache@v4 | |
| name: Cache build | |
| with: | |
| path: | | |
| _build | |
| key: build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('mix.lock') }} | |
| restore-keys: | | |
| build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('mix.lock') }} | |
| build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}- | |
| - run: mix dialyzer --halt-exit-status |