Skip to content

chore(main): release sycophant 0.4.0 #52

chore(main): release sycophant 0.4.0

chore(main): release sycophant 0.4.0 #52

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
build:
strategy:
matrix:
elixir: ["1.19.4"]
otp: ["28.3"]
name: Build and test
runs-on: ubuntu-latest
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
- name: Restore deps and _build cache
id: mix-deps
uses: actions/cache@v4
with:
path: |
deps
_build
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-
- name: Fetch and Compile Dependencies
if: steps.mix-deps.outputs.cache-hit != 'true'
run: |
mix deps.get
mix deps.compile
- name: PLT Cache
uses: actions/cache@v4
id: plt-cache
with:
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-plts-${{ hashFiles('**/mix.lock') }}
path: |
_plts/core
- name: Create PLTs
if: steps.plt-cache.outputs.cache-hit != 'true'
run: |
mix dialyzer --plt
- name: Run Checks
run: mix check
- name: Run Recordings
run: mix test.recording