update CI for forgejo
All checks were successful
Generic zig build / build (push) Successful in 34s

This commit is contained in:
Emil Lerch 2025-05-07 08:52:23 -07:00
parent 7634a08579
commit 4187d89951
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -9,17 +9,20 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - name: Check out repository code
- uses: elerch/setup-zig@v3 uses: actions/checkout@v4
- name: Setup Zig
uses: https://github.com/mlugg/setup-zig@v1.2.1
with: with:
version: 0.14.0 version: 0.14.0
- uses: elerch/zig-action-cache@v1.1.6 - name: Restore Zig caches
uses: https://github.com/Hanaasagi/zig-action-cache@3954aae427f8b05914e08dfd79f15e1f2e435929
- name: Build project - name: Build project
run: zig build --summary all run: zig build --summary all
- name: Run tests - name: Run tests
run: zig build test --summary all run: zig build test --summary all
- name: Notify - name: Notify
uses: elerch/action-notify-ntfy@v2.github uses: https://git.lerch.org/lobo/action-notify-ntfy@v2
if: always() && env.GITEA_ACTIONS == 'true' if: always() && env.GITEA_ACTIONS == 'true'
with: with:
host: ${{ secrets.NTFY_HOST }} host: ${{ secrets.NTFY_HOST }}