-
-
Notifications
You must be signed in to change notification settings - Fork 16
29 lines (26 loc) · 690 Bytes
/
build.yml
File metadata and controls
29 lines (26 loc) · 690 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
name: Build
on:
pull_request:
push:
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-24.04
- macos-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Get dependencies
run: nix develop .#ci --command -- mix deps.get
- name: Dialyze
run: nix develop .#ci --command -- mix dialyzer
- name: Run tests
run: nix develop .#ci --command -- mix test
- name: Check fixture derivations
run: nix flake check