Bump crystal to 1.12.1 #75
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: fleet_app_client CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
check-format: | |
runs-on: ubuntu-latest | |
container: | |
image: crystallang/crystal:1.6.2 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Format | |
run: crystal tool format --check | |
specs: | |
runs-on: ubuntu-latest | |
container: | |
image: crystallang/crystal:1.6.2 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Crystal cache | |
uses: actions/cache@v2 | |
id: crystal-cache | |
with: | |
path: | | |
~/.cache/crystal | |
lib | |
lucky_tasks | |
key: ${{ runner.os }}-crystal-${{ hashFiles('**/shard.lock') }} | |
restore-keys: | | |
${{ runner.os }}-crystal- | |
- name: Install shards | |
if: steps.crystal-cache.outputs.cache-hit != 'true' | |
run: shards check || shards install --ignore-crystal-version | |
- name: Run tests | |
run: crystal spec |