From 2bb7a1a886b2e2096cb6df9bf7452afd43110290 Mon Sep 17 00:00:00 2001 From: iko Date: Thu, 1 Jun 2023 17:45:46 +0300 Subject: [PATCH] Create ci.yml (#2) * Create ci.yml * Update ci.yml * Update ci.yml --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c328d97 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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 '' + + - name: Test + run: ./dev/test.sh