As part of the release build of Spectrum, checks are run to test functionality, ensure conformity with code conventions, and so on.
These checks are defined inside the release/checks directory. To run a check, use
nix-build -I nixpkgs=https://spectrum-os.org/git/nixpkgs/snapshot/nixpkgs-rootfs.tar.gz release/checks/shellcheck.nix
Building the release/checks directory will run all checks.