This repository has been archived by the owner on Nov 21, 2023. It is now read-only.
CI #569
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
paths: | |
- '**.zig' | |
pull_request: | |
paths: | |
- '**.zig' | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: master | |
- name: Lint | |
run: zig fmt --check --ast-check **.zig | |
- name: Test | |
run: zig build test |