checks icon indicating copy to clipboard operation
checks copied to clipboard

Easy, terse, readable and fast function arguments type checking

Results 6 checks issues
Sort by recently updated
recently updated
newest added

Introduce special property for table: `__checks__skip__omitted__`. If it's set to true, 'table' check will allow not fail check on table if it has more properties than we pass to `checks`....

Update the workflow: https://github.com/tarantool/checks/blob/788b6e226ddf87ec45e8d9892ee3a41fd6ee1ae0/.github/workflows/test.yml#L10-L11

```lua local function f(_) require("checks")("number") end assert(pcall(f, "")) -- bad argument #1 to nil (number expected, got string) ```

This patch bumps actions to use ubuntu-24.04 for fixing the following GitHub warning: The Ubuntu 20.04 Actions runner image will begin deprecation on 2025-02-01. Removes unsupported OSes from packaging matrix,...

Build under Ubuntu 22.04/24.04 leads to: ```bash Cloning into 'checks'... CMake Error at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. Update the VERSION argument value....

Ubuntu 20.04 will soon be deprecated and unsupported in the GitHub infrastructure. See also: https://github.com/actions/runner-images/issues/11101 So, we should update workflows, like reusable_testing.yml workflow which is used in the integraion Tarantool...