1
0
forked from extern/nix-config
donovanglover-nix-config/.github/workflows/tests.yml

27 lines
530 B
YAML
Raw Normal View History

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
2023-07-17 00:18:07 +02:00
- name: Check formatting
run: deno fmt tests/ --check
2023-07-18 16:26:52 +02:00
nix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
- run: nix flake check