Skip to content

Misc: add envrc

Misc: add envrc #95

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:
include:
- otp: "26.1"
elixir: "1.15.7"
- otp: "24.2"
elixir: "1.12.3"
steps:
- name: Checkout Github repo
uses: actions/[email protected]
- name: Setup BEAM Env
uses: erlef/[email protected]
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Setup Cache
uses: actions/[email protected]
id: mix-cache
with:
path: |
deps
_build
priv/plts
key: ${{ hashFiles('mix.lock') }}-${{ matrix.elixir }}-${{ matrix.otp }}
- 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