This commit is contained in:
parent
7634a08579
commit
4187d89951
1 changed files with 7 additions and 4 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue