1
0
Fork 0
osc-fuzzer/.forgejo/workflows/test.yaml

19 lines
474 B
YAML
Raw Permalink Normal View History

2024-09-07 14:20:46 -05:00
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
2024-09-07 14:28:26 -05:00
uses: actions/checkout@v4.1.7
2024-09-07 14:20:46 -05:00
- name: Setup Nix
2024-09-07 14:28:26 -05:00
uses: https://github.com/cachix/install-nix-action@v27
2024-09-07 14:20:46 -05:00
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Test
run: nix develop .#default -c zig build test