Skip to content

chore(shard.yml): bump version #730

chore(shard.yml): bump version

chore(shard.yml): bump version #730

Workflow file for this run

name: CI
on:
push:
workflow_dispatch:
schedule:
- cron: "0 6 * * 1"
jobs:
style:
uses: PlaceOS/.github/.github/workflows/crystal-style.yml@main
test:
name: "crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }}"
container: crystallang/crystal:${{ matrix.crystal }}-alpine
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
stable: [true]
crystal:
- latest
- 1.14.1
include:
- stable: false
crystal: nightly
# Service containers to run with `container-job`
services:
sshtest:
image: testcontainers/sshd:1.2.0
env:
PASSWORD: somepassword
# Label used to access the service container
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
continue-on-error: ${{ !matrix.stable }}
steps:
- name: Install LibSSH2
run: apk add --no-cache libssh2-static iputils
- uses: actions/checkout@v2
- name: Install dependencies
run: shards install --ignore-crystal-version --skip-postinstall --skip-executables
- name: Run tests
run: crystal spec -v --error-trace
env:
REDIS_URL: redis://redis:6379