[CI] adding format check
This commit is contained in:
@@ -52,6 +52,9 @@ jobs:
|
|||||||
echo "$PATH"
|
echo "$PATH"
|
||||||
ls -la /opt/mpss/3.8.6/sysroots/k1om-mpss-linux/bin | head -50
|
ls -la /opt/mpss/3.8.6/sysroots/k1om-mpss-linux/bin | head -50
|
||||||
|
|
||||||
|
- name: Check formatting
|
||||||
|
run: zig fmt --check src/
|
||||||
|
|
||||||
- name: ZLint pass
|
- name: ZLint pass
|
||||||
run: |
|
run: |
|
||||||
curl -fsSL https://raw.githubusercontent.com/DonIsaac/zlint/refs/heads/main/tasks/install.sh | bash
|
curl -fsSL https://raw.githubusercontent.com/DonIsaac/zlint/refs/heads/main/tasks/install.sh | bash
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ const std = @import("std");
|
|||||||
const vk = @import("vulkan");
|
const vk = @import("vulkan");
|
||||||
const base = @import("base");
|
const base = @import("base");
|
||||||
|
|
||||||
|
|
||||||
const VkError = base.VkError;
|
const VkError = base.VkError;
|
||||||
|
|
||||||
const Self = @This();
|
const Self = @This();
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ const std = @import("std");
|
|||||||
const vk = @import("vulkan");
|
const vk = @import("vulkan");
|
||||||
const base = @import("base");
|
const base = @import("base");
|
||||||
|
|
||||||
|
|
||||||
const VkError = base.VkError;
|
const VkError = base.VkError;
|
||||||
|
|
||||||
const Self = @This();
|
const Self = @This();
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ const base = @import("base");
|
|||||||
|
|
||||||
const VkError = base.VkError;
|
const VkError = base.VkError;
|
||||||
|
|
||||||
|
|
||||||
const Self = @This();
|
const Self = @This();
|
||||||
pub const Interface = base.DescriptorPool;
|
pub const Interface = base.DescriptorPool;
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ const base = @import("base");
|
|||||||
const VkError = base.VkError;
|
const VkError = base.VkError;
|
||||||
const VulkanAllocator = base.VulkanAllocator;
|
const VulkanAllocator = base.VulkanAllocator;
|
||||||
|
|
||||||
|
|
||||||
const SoftDescriptorSet = @import("SoftDescriptorSet.zig");
|
const SoftDescriptorSet = @import("SoftDescriptorSet.zig");
|
||||||
|
|
||||||
const Self = @This();
|
const Self = @This();
|
||||||
|
|||||||
Reference in New Issue
Block a user