mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-29 03:34:46 +01:00
20 lines
355 B
YAML
20 lines
355 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
|
|
- name: Check formatting
|
|
run: crystal tool format --check
|