chore(shard.yml): bump version #33
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, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
# Docker Hub image | |
image: redis | |
# Set health checks to wait until redis has started | |
options: >- | |
--health-cmd "redis-cli ping" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
container: | |
image: crystallang/crystal | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: shards install --ignore-crystal-version | |
- name: Lint | |
run: ./bin/ameba | |
- name: Format | |
run: crystal tool format --check | |
- name: Run tests | |
run: crystal spec --error-trace -v | |
env: | |
# The hostname used to communicate with the Redis service container | |
REDIS_HOST: redis | |
REDIS_PORT: 6379 |