Defined.cr CI #478
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: Defined.cr CI | |
on: | |
schedule: | |
- cron: '0 3 * * *' | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: crystallang/crystal | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: shards install | |
- name: Run tests | |
run: crystal spec -t -s | |
- name: Format Linting | |
run: crystal tool format --check | |
- name: Run Ameba | |
run: bin/ameba |