18 lines
451 B
YAML
18 lines
451 B
YAML
on: [push, pull_request]
|
|
name: Test
|
|
jobs:
|
|
test:
|
|
runs-on: node20
|
|
env:
|
|
ZIG_LOCAL_CACHE_DIR: /zig/local-cache
|
|
ZIG_GLOBAL_CACHE_DIR: /zig/global-cache
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Setup Nix
|
|
uses: cachix/install-nix-action@V27
|
|
with:
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
- name: Test
|
|
run: nix develop .#default -c zig build test
|
|
|