Skip to content

Commit 173eac5

Browse files
committed
ci: add GitHub actions
1 parent 370d65c commit 173eac5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/push.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Push
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
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
21+
- run: nix develop --command mix test

0 commit comments

Comments
 (0)