mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
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:
parent
851d2aa212
commit
176a40b57b
11
.github/workflows/tests.yml
vendored
11
.github/workflows/tests.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user