Fix umbrella app order for Elixir 1.16 + fix gettext compiler race + … #208
This file contains 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: check | |
on: [pull_request, push] | |
jobs: | |
mix_check: | |
name: mix check (Elixir ${{matrix.elixir}}, OTP ${{matrix.otp}}) | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- elixir: '1.16.1' | |
otp: '26.2.2' | |
- elixir: '1.14.5' | |
otp: '24.3.4.16' | |
- elixir: '1.12.3' | |
otp: '22.3.4.26' | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Elixir | |
uses: erlef/setup-elixir@v1 | |
with: | |
elixir-version: ${{ matrix.elixir }} | |
otp-version: ${{ matrix.otp }} | |
- name: Cache deps and build | |
uses: actions/cache@v3 | |
with: | |
path: | | |
deps | |
_build | |
key: deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}-git-${{ github.sha }} | |
restore-keys: | | |
deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }} | |
deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }} | |
- name: Fetch deps | |
run: mix deps.get | |
- name: Remove application build | |
run: mix clean | |
- name: Compile deps | |
run: mix deps.compile | |
- name: Compile app | |
run: mix compile | |
- name: Run check | |
run: mix check |