Skip to content

Merge pull request #5 from pbrumm/fix/memory_leak_with_ctx #23

Merge pull request #5 from pbrumm/fix/memory_leak_with_ctx

Merge pull request #5 from pbrumm/fix/memory_leak_with_ctx #23

Workflow file for this run

name: Crystal CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
name: "crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }}"
continue-on-error: ${{ !matrix.stable }}
strategy:
fail-fast: false
matrix:
stable: [true]
crystal:
- 1.0.0
- 1.1.0
- 1.1.1
- 1.2.0
include:
- crystal: nightly
stable: false
container:
image: crystallang/crystal:${{ matrix.crystal }}
steps:
- uses: actions/checkout@v2
- name: apt update
run: apt update
- name: Install wget
run: apt-get install -y wget
- name: Cache libsodium
uses: actions/cache@v2
with:
path: ~/build/zstd-*
key: ${{ runner.os }}-libsodium-${{ hashFiles('build/*.sh') }}
- name: Install dependencies
run: shards install
- name: Run tests
run: crystal spec -Dpreview_mt --order random --error-on-warnings
- name: Run format
run: crystal tool format --check