From 176a40b57bb19c525c1275935519fccd16c14021 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 31 Aug 2023 12:32:57 -0400 Subject: [PATCH] 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. --- .github/workflows/tests.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 669ee43..cf66401 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: