ci: Replace crystal with deno

Although I've used Crystal for a number of years, it just can't compare
to the modern JavaScript/TypeScript development experience.
This commit is contained in:
Donovan Glover 2023-08-31 12:32:57 -04:00
parent 851d2aa212
commit 176a40b57b
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -7,16 +7,17 @@ on:
branches: [ master ]
jobs:
crystal:
deno:
runs-on: ubuntu-latest
container:
image: crystallang/crystal
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Run tests
run: crystal spec tests/main.cr --verbose
run: deno test tests/main.ts --allow-read
- name: Check formatting
run: crystal tool format --check
run: deno fmt tests/ --check
nix:
runs-on: ubuntu-latest
steps: