Create ci.yml (#2)

* Create ci.yml

* Update ci.yml

* Update ci.yml
This commit is contained in:
iko 2023-06-01 17:45:46 +03:00 committed by GitHub
parent 9e0e39abb4
commit 2bb7a1a886
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

25
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v21
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Install Elm
run: nix-env -iA elmPackages.elm -f '<nixpkgs>'
- name: Test
run: ./dev/test.sh