mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 09:43:11 +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 ]
|
branches: [ master ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
crystal:
|
deno:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
|
||||||
image: crystallang/crystal
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
- uses: denoland/setup-deno@v1
|
||||||
|
with:
|
||||||
|
deno-version: v1.x
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: crystal spec tests/main.cr --verbose
|
run: deno test tests/main.ts --allow-read
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
run: crystal tool format --check
|
run: deno fmt tests/ --check
|
||||||
nix:
|
nix:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user