Skip to content

Add larimar/api/server require endpoint #35

Add larimar/api/server require endpoint

Add larimar/api/server require endpoint #35

Workflow file for this run

on:
push:
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Download source
uses: actions/checkout@v2
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
- name: Install Deps
run: |
sudo apt-get install -y \
automake \
build-essential \
git \
libbsd-dev \
libevent-dev \
libgmp-dev \
libgmpxx4ldbl \
libpcre2-dev \
libssl-dev \
libtool \
libxml2-dev \
libyaml-dev \
lld \
llvm \
llvm-dev\
libz-dev
- name: Set up tree-sitter
uses: tree-sitter/setup-action/cli@v1
with:
tree-sitter-ref: latest
- name: Build tree-sitter shared library
run: |
git clone https://github.com/tree-sitter/tree-sitter.git
cd tree-sitter
make
sudo make install
- name: Install Shards
run: shards install
- name: Run tests
run: crystal spec
- name: Ameba lints
run: ./bin/ameba -c .ameba.yml