This repository was archived by the owner on Oct 28, 2026. It is now read-only.
Repository navigation
Update Dependencies #19
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| name: Test | |
| env: | |
| MIX_ENV: test | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-24.04 | |
| pair: | |
| elixir: '1.17.x' | |
| otp: '27.x' | |
| - os: ubuntu-26.04 | |
| pair: | |
| elixir: '1.20.x' | |
| otp: '29.x' | |
| lint: lint | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup Erlang and Elixir | |
| uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: ${{matrix.pair.otp}} | |
| elixir-version: ${{matrix.pair.elixir}} | |
| - name: Fetch Hex Cache | |
| uses: actions/cache@v6 | |
| id: hex-cache | |
| with: | |
| path: | | |
| deps | |
| _build | |
| key: ${{ runner.os }}-mix-${{matrix.pair.otp}}-${{matrix.pair.elixir}}-${{ hashFiles('mix.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-mix-${{matrix.pair.otp}}-${{matrix.pair.elixir}}- | |
| - name: Install Dependencies | |
| run: mix deps.get --only test | |
| - name: Check Formatting | |
| run: mix format --check-formatted | |
| if: ${{ matrix.lint }} | |
| - name: Check Dependencies | |
| run: mix deps.get && mix deps.unlock --check-unused | |
| if: ${{ matrix.lint }} | |
| - name: Test | |
| run: | | |
| mix compile --warnings-as-errors | |
| mix test |