refactor: Added error handling and logging into executor execute #17
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: CI | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 6 * * 1" | |
jobs: | |
build: | |
name: "crystal: ${{ matrix.crystal }}" | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
crystal: [latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Download source | |
uses: actions/checkout@v2 | |
- name: Install Crystal | |
uses: crystal-lang/install-crystal@v1 | |
with: | |
crystal: ${{ matrix.crystal }} | |
- name: Install shards | |
run: shards install --ignore-crystal-version | |
- name: Lint | |
run: ./bin/ameba | |
- name: Format | |
run: crystal tool format --check | |
- name: Run tests | |
run: crystal spec -v --error-trace |