Skip to content

perf: Use String::Builder to improve render times #117

perf: Use String::Builder to improve render times

perf: Use String::Builder to improve render times #117

Workflow file for this run

name: CI
on:
push:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Download source
uses: actions/checkout@v3
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
- name: Cache Shards
uses: actions/cache@v3
with:
path: |
./lib
./bin
key: shards-${{ hashFiles('shard.yml') }}
- name: Install shards
run: shards install
- name: Check code format
run: crystal tool format --check
- name: Lint with ameba
run: bin/ameba
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Download source
uses: actions/checkout@v3
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
- name: Run tests
run: crystal spec