1
0
Fork 0

add forgejo action
Some checks failed
Test / test (push) Failing after 38s

This commit is contained in:
Jeffrey C. Ollie 2024-09-07 14:20:46 -05:00
parent 1cd171ebd5
commit 5e8a25cf91
Signed by: jeff
GPG key ID: 6F86035A6D97044E
2 changed files with 21 additions and 3 deletions

View file

@ -0,0 +1,18 @@
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
- name: Setup Nix
uses: cachix/install-nix-action
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Test
run: nix develop .#default -c zig build test

View file

@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1725432240,
"narHash": "sha256-+yj+xgsfZaErbfYM3T+QvEE2hU7UuE+Jf0fJCJ8uPS0=",
"lastModified": 1725634671,
"narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ad416d066ca1222956472ab7d0555a6946746a80",
"rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c",
"type": "github"
},
"original": {