Skip to content

Merge pull request #39 from hostari/chore/update-docs2 #74

Merge pull request #39 from hostari/chore/update-docs2

Merge pull request #39 from hostari/chore/update-docs2 #74

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