Skip to content

Bump actions/checkout from 3.2.0 to 4.2.2 #360

Bump actions/checkout from 3.2.0 to 4.2.2

Bump actions/checkout from 3.2.0 to 4.2.2 #360

Workflow file for this run

on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
include:
- elixir: 1.10.x
otp: 22.x
- elixir: 1.11.x
otp: 23.x
- elixir: 1.12.x
otp: 23.x
check_formatted: true
check_style: true
steps:
- uses: actions/checkout@v4.2.2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Check formatting
if: matrix.check_formatted
run: mix format --check-formatted
- name: Install Dependencies
run: mix deps.get && mix deps.unlock --check-unused
- name: Check style
if: matrix.check_style
run: mix credo --strict --format flycheck
- name: Compile project
run: mix compile --warnings-as-errors
- name: Run tests
run: mix test --cover