Update locked Crystal dependencies #62
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: Specs | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: "*" | |
jobs: | |
specs: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
container: | |
image: crystallang/crystal:1.13.0 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install required packages | |
run: | | |
apt-get update | |
apt-get -yqq install libsqlite3-dev cmake build-essential | |
- name: Install shards | |
run: | | |
git config --global --add safe.directory /__w/realworld/realworld | |
git config --global --add safe.directory /__w/realworld/realworld/shard_overrides/marten | |
git submodule init | |
git submodule update --remote --recursive | |
shards install --ignore-crystal-version | |
- name: Run tests | |
run: crystal spec --error-trace |