Skip to content

Add action to check if changelog was updated #328

Add action to check if changelog was updated

Add action to check if changelog was updated #328

Workflow file for this run

name: Elixir CI
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
env:
MIX_ENV: test
jobs:
build:
name: Build and test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: '1.15.0' # Define the elixir version [required]
otp-version: '25.0' # Define the OTP version [required]
- name: Restore dependencies cache
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install dependencies
run: mix deps.get
- name: Run tests
run: mix test