auto/keep-running-on-08-07-2024 (#6) #14
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: CI | |
env: | |
ImageOS: ubuntu22 | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
mix_test: | |
name: Test (Erlang/OTP ${{matrix.otp}} | Elixir ${{matrix.elixir}}) | |
runs-on: | |
- runs-on | |
- runner=2cpu-linux-x64 | |
- "run-id=${{ github.run_id }}" | |
container: hexpm/elixir:${{ matrix.elixir }}-erlang-${{ matrix.otp }}-alpine-3.11.6 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- elixir: 1.8.2 | |
otp: 20.3.8.26 | |
- elixir: 1.9.4 | |
otp: 20.3.8.26 | |
- elixir: 1.10.3 | |
otp: 21.3.8.16 | |
- elixir: 1.11.2 | |
otp: 21.3.8.16 | |
- elixir: 1.11.2 | |
otp: 23.0.2 | |
steps: | |
- uses: actions/[email protected] | |
- name: Install Dependencies | |
run: | | |
mix local.rebar --force | |
mix local.hex --force | |
mix deps.get | |
- run: mix test | |
mix_credo: | |
name: Run credo | |
runs-on: | |
- runs-on | |
- runner=2cpu-linux-x64 | |
- "run-id=${{ github.run_id }}" | |
container: hexpm/elixir:${{ matrix.elixir }}-erlang-${{ matrix.otp }}-alpine-3.11.6 | |
strategy: | |
matrix: | |
include: | |
- elixir: 1.11.2 | |
otp: 23.0.2 | |
steps: | |
- uses: actions/[email protected] | |
- name: Install Dependencies | |
run: | | |
mix local.rebar --force | |
mix local.hex --force | |
mix deps.get | |
- run: mix credo --strict | |
check_formatted: | |
name: Check formatted | |
runs-on: | |
- runs-on | |
- runner=2cpu-linux-x64 | |
- "run-id=${{ github.run_id }}" | |
container: hexpm/elixir:${{ matrix.elixir }}-erlang-${{ matrix.otp }}-alpine-3.11.6 | |
strategy: | |
matrix: | |
include: | |
- elixir: 1.11.2 | |
otp: 23.0.2 | |
steps: | |
- uses: actions/[email protected] | |
- run: mix format --check-formatted |