mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00

parseBody() : parse form params parseQuery() : parse query params getParamCount() : returns number of parsed params parametersToOwnedStrList() : get params as kv pairs of strings parametersToOwnedList() : get params as kv list getParamStr() : get parameter by name
32 lines
770 B
YAML
32 lines
770 B
YAML
name: Works with Zig master
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
ci:
|
|
strategy:
|
|
matrix:
|
|
# platform: [ubuntu-latest, windows-latest, macos-latest]
|
|
platform: [ubuntu-latest]
|
|
runs-on: ${{ matrix.platform }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: goto-bus-stop/setup-zig@v2
|
|
with:
|
|
version: master
|
|
- name: Check zig version
|
|
run: zig version
|
|
- name: Build simple endpoint example
|
|
run: zig build endpoint
|
|
- name: Build authentication tests
|
|
run: zig build test-authentication
|
|
- name: Build http parameter tests
|
|
run: zig build test-httpparams
|