Skip to content

Bump crystal to 1.12.1 #75

Bump crystal to 1.12.1

Bump crystal to 1.12.1 #75

Workflow file for this run

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