Merge pull request #17 from y2k2mt/fix/gh-action #15
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: Crystal CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: crystallang/crystal | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install dependencies | |
run: shards install --ignore-crystal-version | |
- name: Code formatting | |
run: crystal tool format --check | |
- name: Code inspection with ameba | |
run: bin/ameba src | |
- name: Run specs | |
run: crystal spec -v |