mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 09:43:11 +01:00
176a40b57b
Although I've used Crystal for a number of years, it just can't compare to the modern JavaScript/TypeScript development experience.
27 lines
530 B
YAML
27 lines
530 B
YAML
name: tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
deno:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: denoland/setup-deno@v1
|
|
with:
|
|
deno-version: v1.x
|
|
- name: Run tests
|
|
run: deno test tests/main.ts --allow-read
|
|
- name: Check formatting
|
|
run: deno fmt tests/ --check
|
|
nix:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: cachix/install-nix-action@v22
|
|
- run: nix flake check
|