ci: update docs workflow #25
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: Mollie CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: "*" | |
jobs: | |
specs: | |
strategy: | |
fail-fast: false | |
matrix: | |
# os: [ubuntu-latest, windows-latest] | |
os: [ubuntu-latest] | |
crystal_version: [latest] | |
runs-on: ${{ matrix.os }} | |
continue-on-error: false | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: crystal-lang/install-crystal@v1 | |
with: | |
crystal: ${{ matrix.crystal_version }} | |
- name: Install shards | |
run: shards install | |
- name: Run tests | |
run: crystal spec | |
- name: Check format | |
run: crystal tool format --check | |
- name: Lint | |
run: ./bin/ameba |