style(build): make addFmt
paths options occupy multiple lines
#10
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: Continuous Integration | |
on: | |
push: | |
branches: [main] | |
paths: ["**.zig"] | |
pull_request: | |
branches: [main] | |
paths: ["**.zig"] | |
workflow_dispatch: | |
jobs: | |
exe: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Zig | |
uses: goto-bus-stop/setup-zig@v2 | |
- name: Run executable | |
run: | | |
zig build exe | |
rm -rf liza/ | |
zig build exe -- -l | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Zig | |
uses: goto-bus-stop/setup-zig@v2 | |
- name: Run formatting checks | |
run: zig build fmt |