on master help sign in
Create ci.yml (#2)

* Create ci.yml * Update ci.yml * Update ci.yml

commit2bb7a1a886b2e2096cb6df9bf7452afd43110290 authoriko <mail@iko.soy> dateThu 1 Jun 2023, 17:45 (3 years ago) parent9e0e39a
1 file changed+25
.github/workflows/ci.yml+25
.github/workflows/ci.ymlnew file+25
@@ -0,0 +1,25 @@
1+name: CI
2+
3+on:
4+ push:
5+ branches: [ "master" ]
6+ pull_request:
7+ branches: [ "master" ]
8+
9+jobs:
10+ build:
11+ runs-on: ubuntu-latest
12+
13+ steps:
14+ - uses: actions/checkout@v3
15+
16+ - name: Install Nix
17+ uses: cachix/install-nix-action@v21
18+ with:
19+ nix_path: nixpkgs=channel:nixpkgs-unstable
20+
21+ - name: Install Elm
22+ run: nix-env -iA elmPackages.elm -f '<nixpkgs>'
23+
24+ - name: Test
25+ run: ./dev/test.sh