Skip to content

SYB 018/upgrade to 1.15.7 #81

SYB 018/upgrade to 1.15.7

SYB 018/upgrade to 1.15.7 #81

Workflow file for this run

---
name: Sibyl | CI checks
on:
pull_request:
branches:
- main
push:
branches:
- main
concurrency:
group: ci-${{github.ref}}
cancel-in-progress: true
jobs:
lint-and-test:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: ["24.2", "26.1"]
elixir: ["1.12.3", "1.15.7"]
steps:
- name: Checkout Github repo
uses: actions/checkout@v3.0.2
- name: Setup BEAM Env
uses: erlef/setup-beam@latest
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Setup Cache
uses: actions/cache@v3.0.4
id: mix-cache
with:
path: |
deps
_build
priv/plts
key: ${{ hashFiles('mix.lock') }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}
- if: steps.mix-cache.outputs.cache-hit != 'true'
run: mkdir -p priv/plts; mix deps.get; mix deps.compile
- run: mix lint
- run: mix test