Skip to content

Fix issues in README.md #26

Fix issues in README.md

Fix issues in README.md #26

Workflow file for this run

name: CI
on: push
permissions:
contents: read
env:
ZIG_VERSION: 0.13.0
jobs:
build-test:
name: Build and test
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Install Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: ${{ env.ZIG_VERSION }}
- name: Build
run: zig build
- name: Test
run: zig build test
build-kv-store:
name: Build kv_store example
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./examples/kv_store
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Install Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: ${{ env.ZIG_VERSION }}
- name: Build
run: zig build
check-formatting:
name: Check formatting
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Install Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: ${{ env.ZIG_VERSION }}
- name: Check formatting
run: zig fmt --check .