Upgrade to v2.0.0-rc.10 #3
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: Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| name: Linux ${{ matrix.elixir }}, ${{ matrix.otp }} | |
| strategy: | |
| matrix: | |
| elixir: ["1.17.3"] | |
| otp: ["27.1.2"] | |
| env: | |
| MIX_ENV: test | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: ${{ matrix.otp }} | |
| elixir-version: ${{ matrix.elixir }} | |
| - name: Install dependencies | |
| run: mix deps.get | |
| - name: Compile and check warnings | |
| run: mix compile --warnings-as-errors | |
| - name: Check formatting | |
| run: mix format --check-formatted | |
| - name: Run tests | |
| run: mix test | |
| macos: | |
| runs-on: macos-latest | |
| name: macOS | |
| env: | |
| MIX_ENV: test | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install | |
| run: | | |
| brew update | |
| brew install erlang@27 elixir | |
| - name: Install dependencies | |
| run: mix deps.get | |
| - name: Compile and check warnings | |
| run: mix compile --warnings-as-errors | |
| - name: Check formatting | |
| run: mix format --check-formatted | |
| - name: Run tests | |
| run: mix test |