summaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r--.github/workflows/ci.yaml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 83eb40c..319f4cc 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -9,6 +9,14 @@ concurrency:
cancel-in-progress: true
jobs:
+ lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - run: sudo apt-get install -y make clang-format
+ - run: make lint
+ - run: git diff --exit-code
+
build-with-gcc:
strategy:
matrix:
@@ -30,7 +38,7 @@ jobs:
path: ~/.cache/zig
- run: |
wget --progress=dot:mega \
- https://ziglang.org/download/0.11.0/zig-linux-$(uname -m)-0.11.0.tar.xz
+ https://ziglang.org/download/0.12.0/zig-linux-$(uname -m)-0.12.0.tar.xz
tar -xJf zig-linux-*.tar.xz
rm zig-linux-*.xz
mv zig-linux-* zig-sdk