1name: Push
2on:
3 push:
4 branches:
5 - main
6
7jobs:
8 docker:
9 name: Lint and test
10 runs-on: ubuntu-latest
11
12 steps:
13 - uses: actions/checkout@v4
14
15 - name: Install Nix
16 uses: nixbuild/nix-quick-install-action@v30
17
18 - run: nix flake check
19 - run: nix develop --command mix deps.get
20 - run: nix develop --command mix credo --mute-exit-status -a
21 - run: nix develop --command mix test