Skip to content

add code formatting to autogen action #304

add code formatting to autogen action

add code formatting to autogen action #304

Workflow file for this run

name: Specs
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
crystal-version: [1.10.1]
steps:
- uses: actions/checkout@v2
- uses: oprypin/install-crystal@v1
with:
crystal: ${{ matrix.crystal-version }}
- name: Install dependencies
run: shards install --ignore-crystal-version
- name: Format code
run: crystal tool format && git diff --exit-code
- name: Run tests
run: crystal spec