cut ver 0.16.6 #1752
Workflow file for this run
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: Continuous Integration | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| env: | |
| MIX_ENV: test | |
| strategy: | |
| matrix: | |
| otp: ['26', '27'] | |
| elixir: ['1.17', '1.18', '1.19'] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Cache dialyzer plts | |
| uses: actions/cache@v5 | |
| with: | |
| path: priv/plts | |
| key: ${{runner.os}}-${{matrix.otp}}-${{matrix.elixir}}-plts | |
| - name: Setup elixir | |
| uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: ${{matrix.otp}} | |
| elixir-version: ${{matrix.elixir}} | |
| - name: Deps get and check unused | |
| run: mix deps.get && mix deps.unlock --check-unused | |
| - name: Check Credo | |
| run: mix credo | |
| - name: Run Tests | |
| run: mix do compile --warnings-as-errors, test | |
| - name: Dialyzer | |
| run: mix dialyzer --halt-exit-status |