mirror of
https://codeberg.org/godmaire/sergei.git
synced 2024-09-19 15:58:26 +00:00
ci: Setup dialyzer testing
This commit is contained in:
parent
ab880774ef
commit
4e3241b038
3 changed files with 23 additions and 2 deletions
20
.forgejo/workflows/default.yml
Normal file
20
.forgejo/workflows/default.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
on:
|
||||
- push
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: https://github.com/jdx/mise-action@v2
|
||||
|
||||
- name: Install and Compile Deps
|
||||
run: |
|
||||
mix local.hex --force
|
||||
mix local.rebar --force
|
||||
mix deps.get
|
||||
mix deps.compile
|
||||
|
||||
- name: Run Dialyzer
|
||||
run: mix dialyzer
|
3
.mise.toml
Normal file
3
.mise.toml
Normal file
|
@ -0,0 +1,3 @@
|
|||
[tools]
|
||||
erlang = "26.2"
|
||||
elixir = "1.14"
|
|
@ -1,2 +0,0 @@
|
|||
elixir 1.15
|
||||
erlang 26
|
Loading…
Reference in a new issue