Skip to content

Bump hexpm/elixir from 1.14.5-erlang-24.0.3-alpine-3.16.0 to 1.15.7-erlang-26.1.2-alpine-3.18.4 #418

Bump hexpm/elixir from 1.14.5-erlang-24.0.3-alpine-3.16.0 to 1.15.7-erlang-26.1.2-alpine-3.18.4

Bump hexpm/elixir from 1.14.5-erlang-24.0.3-alpine-3.16.0 to 1.15.7-erlang-26.1.2-alpine-3.18.4 #418

Workflow file for this run

name: Elixir CI
env:
MIX_ENV: test
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: OTP ${{matrix.otp}} | Elixir ${{matrix.elixir}}
runs-on: ubuntu-latest
strategy:
matrix:
otp: [25, 24]
elixir: ['1.14', '1.13']
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
${{ runner.os }}-mix-
- uses: actions/cache@v3
with:
path: _build/ci
key: ${{ runner.os }}-build-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
${{ runner.os }}-build-
- uses: erlef/[email protected]
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Install inotify-tools
run: sudo apt-get install inotify-tools
- name: Install hex
run: mix local.hex --force
- name: Install rebar
run: mix local.rebar --force
- name: Install Dependencies
run: mix deps.get
- name: Run Tests
run: mix test
quality:
name: Code quality checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
${{ runner.os }}-mix-
- uses: actions/cache@v3
with:
path: _build/ci
key: ${{ runner.os }}-build-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
${{ runner.os }}-build-
- uses: erlef/[email protected]
with:
otp-version: 25
elixir-version: 1.14
- name: Install inotify-tools
run: sudo apt-get install inotify-tools
- name: Install hex
run: mix local.hex --force
- name: Install rebar
run: mix local.rebar --force
- name: Install Dependencies
run: mix do deps.get, compile
- name: Run code analysis
run: mix credo --strict
- name: Report coverage
run: mix coveralls.github
- name: Check documentation coverage
run: mix inch