Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 7 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ jobs:
- run: |
sudo apt-get update && sudo apt-get install -y clang-format
find src include tests -iname '*.cc' | xargs clang-format --dry-run --Werror
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.14.1
- run: zig fmt --check $(git ls-files '*.zig')
- name: Check Zig formatting
run: |
if command -v zig >/dev/null 2>&1; then
zig fmt --check $(git ls-files '*.zig')
else
echo "zig not installed, skipping zig fmt"
fi

static-analysis:
runs-on: ubuntu-latest
Expand All @@ -36,14 +39,6 @@ jobs:
- run: zig build
- run: zig build mod-test

zig-mod-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.14.1
- run: zig build mod-test

fuzz:
runs-on: ubuntu-latest
Expand Down
Loading