mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
ci: lint zig code with ZLint
This commit is contained in:
23
.github/workflows/zlint.yml
vendored
Normal file
23
.github/workflows/zlint.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
name: ZLint
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
zlint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Lint with ZLint
|
||||||
|
uses: DonIsaac/zlint-action@v0
|
||||||
|
with:
|
||||||
|
# When true (the default value), only files changed in a
|
||||||
|
# PR get linted. Has no effect on pushes.
|
||||||
|
diff-only: false
|
Reference in New Issue
Block a user