aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-05-20 23:06:33 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-05-20 23:30:50 +0200
commitb02110af18fe5650c27759e9e231b4d1bc522028 (patch)
tree69218c2a7d235b0c4795abde6582cbb747099c9c /.github/workflows
parentf3bfc59b7d296652320ce7753ebfab769e6c07b7 (diff)
downloadriver-b02110af18fe5650c27759e9e231b4d1bc522028.tar.gz
river-b02110af18fe5650c27759e9e231b4d1bc522028.tar.xz
Run zig fmt in CI builds
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci_build.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml
index 8da122b..f8cb452 100644
--- a/.github/workflows/ci_build.yml
+++ b/.github/workflows/ci_build.yml
@@ -30,10 +30,14 @@ jobs:
- name: Checkout Code
uses: actions/checkout@master
- - name: Build
+ - name: build
run: |
zig build
- - name: Test
+ - name: test
run: |
zig build test
+
+ - name: zig fmt
+ run: |
+ zig fmt --check src/**/*.zig