Prepare release 0.5.0 #9
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: ${{ matrix.name }} (Elixir ${{ matrix.elixir }} / OTP ${{ matrix.otp }}) | |
| env: | |
| MIX_ENV: test | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: Minimum supported | |
| elixir: "1.14.5" | |
| otp: "25" | |
| quality: false | |
| - name: Current | |
| elixir: "1.20" | |
| otp: "29" | |
| quality: true | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Elixir and Erlang/OTP | |
| uses: erlef/setup-beam@v1 | |
| with: | |
| elixir-version: ${{ matrix.elixir }} | |
| otp-version: ${{ matrix.otp }} | |
| - name: Install dependencies | |
| run: mix deps.get --only test | |
| - name: Check formatting | |
| if: matrix.quality | |
| run: mix format --check-formatted | |
| - name: Compile with warnings as errors | |
| run: mix compile --warnings-as-errors | |
| - name: Run Credo | |
| if: matrix.quality | |
| run: mix credo --strict | |
| - name: Run tests with coverage | |
| run: mix test --cover |