Skip to content

Enable windows in github actions #53

Enable windows in github actions

Enable windows in github actions #53

Workflow file for this run

name: CI
on:
push:
schedule:
- cron: "0 7 * * 1"
jobs:
test:
strategy:
fail-fast: false
matrix:
- os: ubuntu-latest

Check failure on line 13 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 13, Col: 9): A sequence was not expected
- os: windows-latest
runs-on: ${{ matrix.os }}
env:
TERM: xterm-256color
steps:
- name: Install Crystal
uses: oprypin/install-crystal@v1
- name: Donwload sources
uses: actions/checkout@v2
- name: Check formatting
run: crystal tool format --check
- name: Install dependencies
run: shards install
- name: Run linter
run: ./bin/ameba
- name: Setup environment
run: crystal examples/sam.cr setup
- name: Run specs
run: crystal spec