v2.0.0 #200
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: Elixir Dialyzer | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
dialyzer: | |
name: Dialyzer | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: "1.16" | |
otp-version: "26" | |
- name: Restore dependencies cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
deps | |
_build | |
key: dialyzer-${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} | |
- name: Install dependencies | |
run: mix deps.get | |
- run: mix dialyzer |