refactor: make linter happy

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-09-14 01:07:41 +05:30
parent 387f3c8f07
commit 0acfb1745b
19 changed files with 394 additions and 236 deletions

28
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: matar
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
extra_nix_config: |
auto-optimise-store = true
experimental-features = nix-command flakes
- name: nix develop
run: nix develop
- name: meson build
run: meson setup build
- name: clang-format check
run: ninja clang-format -C build
- name: clang-tidy check
run: ninja clang-tidy -C build
- name: ninja compile
run: ninja compile -C build