Skip to content

add priv folder to package config #263

add priv folder to package config

add priv folder to package config #263

Workflow file for this run

name: CI
on:
push:
jobs:
test:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: ["26.1"]
elixir: ["1.15"]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- uses: actions/cache@v3
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-
- name: Install Dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Run Formatter
run: mix format --check-formatted
- name: Run Linter
run: mix credo
- name: Run Hex Audit
run: mix hex.audit
- name: Generate docs
run: mix docs
- name: Compile
run: mix compile --warnings-as-errors
- name: Run Tests
run: mix coveralls.github