perf: Use String::Builder to improve render times #117
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |