deprecate post_install config in favour of post_login, fire on user auth #1410
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
MIX_ENV: test | |
strategy: | |
matrix: | |
otp: ['26', '27'] | |
elixir: ['1.17'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache dialyzer plts | |
uses: actions/cache@v4 | |
with: | |
path: priv/plts | |
key: ${{runner.os}}-${{matrix.otp}}-${{matrix.elixir}}-plts | |
- name: Setup elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{matrix.otp}} | |
elixir-version: ${{matrix.elixir}} | |
- name: Deps get and check unused | |
run: mix deps.get && mix deps.unlock --check-unused | |
- name: Check Credo | |
run: mix credo | |
- if: ${{ matrix.elixir == '1.15.5' }} | |
name: Check Formatting | |
run: mix format --check-formatted | |
- name: Run Tests | |
run: mix do compile --warnings-as-errors, test | |
- name: Dialyzer | |
run: mix dialyzer --halt-exit-status |