Skip to content

switched to using git+http #40

switched to using git+http

switched to using git+http #40

Workflow file for this run

name: CI
on:
push:
branches:
- "**"
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Zig
uses: mlugg/setup-zig@v2
with:
version: master
cache-key: ${{ runner.os }}-${{ hashFiles('build.zig', 'build.zig.zon') }}
- name: Zig Version
run: zig version
- name: Format Check
shell: bash
run: |
files=$(find . -type f -name '*.zig' \
-not -path './.zig-cache/*' \
-not -path './.zig-cache-*/*' \
-not -path './.zig-global-cache/*' \
-not -path './zig-out/*')
zig fmt --check $files
- name: Build
run: zig build
- name: Test
run: zig build test
- name: Examples
run: zig build examples
- name: Parity Report
run: zig build parity-report
- name: Parity Local
shell: bash
run: zig build parity-local