nix-config/.github/workflows/tests.yml
2023-07-16 18:18:27 -04:00

20 lines
365 B
YAML

name: tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
crystal:
runs-on: ubuntu-latest
container:
image: crystallang/crystal
steps:
- uses: actions/checkout@v3
- name: Run tests
run: crystal spec tests/main.cr --verbose
- name: Check formatting
run: crystal tool format --check