-
Notifications
You must be signed in to change notification settings - Fork 48
32 lines (28 loc) · 804 Bytes
/
checks.yml
File metadata and controls
32 lines (28 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# SPDX-FileCopyrightText: None
# SPDX-License-Identifier: CC0-1.0
name: Docs and lint checks
on: push
jobs:
checks:
runs-on: ubuntu-latest
name: Extra checks
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: 28
elixir-version: 1.19
- name: Retrieve Mix Dependencies Cache
uses: actions/cache@v3
id: mix-cache
with:
path: deps
key: ${{ runner.os }}-28-1.19-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
- run: mix deps.get
- run: mix compile
- run: mix docs
- run: mix format --check-formatted
- run: mix deps.unlock --check-unused
- run: mix hex.build
- run: mix credo -a
- run: mix dialyzer