blockwatch-cli 0.18.0__tar.gz → 0.18.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/.github/workflows/codeql.yml +3 -3
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/.github/workflows/markdownlint.yml +1 -1
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/.github/workflows/pypi.yml +8 -8
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/.github/workflows/release.yml +38 -19
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/.github/workflows/rust.yml +7 -5
- blockwatch_cli-0.18.1/.github/workflows/sign-archives.yml +78 -0
- blockwatch_cli-0.18.1/.github/workflows/site.yml +60 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/.gitignore +1 -6
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/.markdownlint-cli2.yaml +4 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/.pre-commit-config.yaml +10 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/AGENTS.md +9 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/CHANGELOG.md +14 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/CLAUDE.md +9 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/Cargo.lock +1 -1
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/Cargo.toml +9 -1
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/PKG-INFO +1 -1
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/README.md +12 -3
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/SECURITY.md +31 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/blockwatch.toml +22 -3
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/dist-workspace.toml +14 -3
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/docs/agents.md +4 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/docs/ci.md +2 -2
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/docs/cli.md +3 -3
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/docs/symbols.md +67 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/setup.py +1 -1
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/blocks.rs +36 -0
- blockwatch_cli-0.18.1/src/language_parsers/dockerfile.rs +1263 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/mod.rs +232 -7
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/skill.md +15 -2
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/symbol_references.rs +7 -0
- blockwatch_cli-0.18.1/tests/testdata/symbol_references/Dockerfile +1 -0
- blockwatch_cli-0.18.1/tests/testdata/symbol_references/dockerfile_source.rs +3 -0
- blockwatch_cli-0.18.0/src/language_parsers/dockerfile.rs +0 -164
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/.agents/.claude-plugin/plugin.json +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/.agents/skills/blockwatch/SKILL.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/.claude-plugin/marketplace.json +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/.github/FUNDING.yml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/.github/dependabot.yml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/.github/workflows/blockwatch.yml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/.github/workflows/trusted-checks.yml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/.pre-commit-hooks.yaml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/LICENSE +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/clippy.toml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/codecov.yml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/demo.gif +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/docs/validators/README.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/docs/validators/affects.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/docs/validators/check-ai.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/docs/validators/check-lua.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/docs/validators/keep-sorted.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/docs/validators/keep-unique.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/docs/validators/line-count.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/docs/validators/line-pattern.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/docs/validators/same-as.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/pypi/pyproject.toml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/pyproject.toml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/release.toml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/scripts/check_language_count.lua +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/scripts/check_latest_gpt_nano_model.lua +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/block_parser.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/cli.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/config.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/diff_parser.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/explain.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/flags.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/fs.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/bash.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/c.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/c_sharp.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/cmake.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/cpp.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/css.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/dart.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/elixir.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/go.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/graphql.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/groovy.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/hcl.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/html.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/java.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/javascript.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/json.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/kotlin.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/lean.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/lua.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/makefile.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/markdown.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/mdx.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/nix.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/ocaml.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/php.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/proto.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/python.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/ruby.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/rust.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/scala.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/sql.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/starlark.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/swift.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/toml.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/tsx.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/typescript.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/xml.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/language_parsers/yaml.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/lib.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/main.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/path_arguments.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/paths_glob.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/repo_path.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/report.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/sarif.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/scan.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/settings.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/symbol_path.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/symbols/code.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/symbols/mod.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/tag_parser.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/target_reference.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/validators/affects.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/validators/check_ai.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/validators/check_lua.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/validators/keep_sorted.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/validators/keep_unique.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/validators/line_count.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/validators/line_pattern.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/validators/mod.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/validators/same_as.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/violation_address.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/src/virtual_blocks.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/affects.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/check_ai.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/check_lua.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/common/empty.toml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/common/mod.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/config.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/encoding.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/explain.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/general.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/keep_sorted.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/keep_unique.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/line_count.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/line_pattern.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/list.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/path_arguments.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/repository_root.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/same_as.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/sarif.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/skill.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/suppressions.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/cross_file_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/cross_file_target.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/custom_ext_source.javascript +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/custom_ext_target.javascript +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/dangling.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/missing_symbol.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/more_added_than_deleted.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/multiline_tag_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/multiline_tag_target.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/nested_mapping_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/nested_mapping_target.yaml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/sibling.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/symbol_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/symbol_target.json +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/table_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/table_target.toml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/tag_and_content_source.ts +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/tag_and_content_target.ts +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/whole_file_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/affects/whole_file_target.json +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_ai/two_blocks.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_lua/affects.lua +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_lua/affects.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_lua/affects_drift.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_lua/blocking_io.lua +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_lua/blocking_io.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_lua/echo.lua +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_lua/fail.lua +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_lua/mode.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_lua/os.lua +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_lua/pathfmt/report_path.lua +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_lua/pathfmt/source.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_lua/pattern.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_lua/pattern_many_matches.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_lua/pattern_no_match.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_lua/success.lua +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/check_lua/success_and_failure.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/config/glob_target/config.toml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/config/glob_target/package.json +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/config/glob_target/plugins/blue/package.json +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/config/glob_target/plugins/green/package.json +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/config/glob_target/plugins/red/package.json +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/explain/a.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/explain/check.lua +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/general/block_selection.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/general/custom_file_extension.javascript +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/general/custom_file_extension.python +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/general/disable_enable.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/general/paths/invalid.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/general/paths/subdir/nested_invalid.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/general/paths/valid.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/general/severity.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/hidden/.github/workflows/ci.yml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/keep_sorted/orderings.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/keep_unique/basic_and_pattern.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/line_count/equality_and_greater_than.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/line_pattern/forbidden_text.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/line_pattern/hex_and_word_patterns.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/list/.hg/.gitkeep +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/list/a.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/list/b.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/positions/unicode_columns.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/custom_ext_source.javascript +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/custom_ext_target.javascript +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/package.json +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/paths/alpha/item.txt +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/paths/beta/item.txt +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/paths_and_block_source.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/paths_source.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/sibling.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/split_table_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/split_table_target.toml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/symbol_mismatch_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/symbol_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/target.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/whole_file_mismatch_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/whole_file_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/same_as/whole_file_target.json +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/sarif/advisory.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/sarif/clean.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/sarif/sorted.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/sarif/unnamed.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/suppressions/commit_msg.txt +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/suppressions/commit_msg_gone_a.txt +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/suppressions/commit_msg_gone_b.txt +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/suppressions/commit_msg_lowercase_trailer.txt +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/suppressions/commit_msg_malformed.txt +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/suppressions/commit_msg_with_noise.txt +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/suppressions/dangling.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/suppressions/sorted.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/suppressions/symbol.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/suppressions/symbol_target.json +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/suppressions/two_rules.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/suppressions/unnamed.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/Makefile +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/bzl_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/bzl_target.bzl +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/c_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/c_target.c +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/cpp_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/cpp_target.cpp +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/cs_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/cs_target.cs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/csproj_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/csproj_target.csproj +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/css_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/css_target.css +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/dart_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/dart_target.dart +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/escapes_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/escapes_target.json +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/filter_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/filter_target.yaml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/go_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/go_target.go +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/h_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/h_target.h +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/hcl_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/hcl_target.hcl +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/java_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/java_target.java +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/js_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/js_target.js +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/json_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/json_target.json +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/jsonc_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/jsonc_target.jsonc +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/kt_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/kt_target.kt +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/kts_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/kts_target.kts +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/makefile_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/markdown_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/markdown_target.markdown +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/md_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/md_target.md +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/mdx_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/mdx_target.mdx +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/mixed_list_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/mixed_list_target.json +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/nomad_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/nomad_target.nomad +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/php_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/php_target.php +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/phtml_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/phtml_target.phtml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/proto_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/proto_target.proto +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/py_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/py_target.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/rs_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/rs_target.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/sh_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/sh_target.sh +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/swift_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/swift_target.swift +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/tf_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/tf_target.tf +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/tfvars_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/tfvars_target.tfvars +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/tofu_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/tofu_target.tofu +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/toml_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/toml_target.toml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/ts_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/ts_target.ts +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/tsx_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/tsx_target.tsx +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/xml_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/xml_target.xml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/yaml_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/yaml_target.yaml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/yml_source.rs +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/symbol_references/yml_target.yml +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/verbosity/affects/pair.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/verbosity/clean/counted.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/verbosity/clean/noop.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/verbosity/clean/notes.txt +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/verbosity/clean/sorted.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/verbosity/diff/two_blocks.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/verbosity/failing/unsorted.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/testdata/verbosity/mixed/both_kinds.py +0 -0
- {blockwatch_cli-0.18.0 → blockwatch_cli-0.18.1}/tests/verbosity.rs +0 -0
|
@@ -57,7 +57,7 @@ jobs:
|
|
|
57
57
|
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
|
|
58
58
|
steps:
|
|
59
59
|
- name: Checkout repository
|
|
60
|
-
uses: actions/checkout@v7
|
|
60
|
+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
61
61
|
|
|
62
62
|
# Add any setup steps before running the `github/codeql-action/init` action.
|
|
63
63
|
# This includes steps like installing compilers or runtimes (`actions/setup-node`
|
|
@@ -67,7 +67,7 @@ jobs:
|
|
|
67
67
|
|
|
68
68
|
# Initializes the CodeQL tools for scanning.
|
|
69
69
|
- name: Initialize CodeQL
|
|
70
|
-
uses: github/codeql-action/init@v4
|
|
70
|
+
uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
|
|
71
71
|
with:
|
|
72
72
|
languages: ${{ matrix.language }}
|
|
73
73
|
build-mode: ${{ matrix.build-mode }}
|
|
@@ -96,6 +96,6 @@ jobs:
|
|
|
96
96
|
exit 1
|
|
97
97
|
|
|
98
98
|
- name: Perform CodeQL Analysis
|
|
99
|
-
uses: github/codeql-action/analyze@v4
|
|
99
|
+
uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
|
|
100
100
|
with:
|
|
101
101
|
category: "/language:${{matrix.language}}"
|
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
15
|
|
|
16
16
|
steps:
|
|
17
|
-
- uses: actions/checkout@v7
|
|
17
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
18
18
|
# Invoked without file arguments, the linter reads `.markdownlint-cli2.yaml` for both the
|
|
19
19
|
# rules and the set of files, so a pull request is judged by exactly the same configuration as
|
|
20
20
|
# a local commit. Unlike the hook, which sees only what is staged, this run covers every file:
|
|
@@ -33,17 +33,17 @@ jobs:
|
|
|
33
33
|
# </block>
|
|
34
34
|
runs-on: ${{ matrix.runner }}
|
|
35
35
|
steps:
|
|
36
|
-
- uses: actions/checkout@v7
|
|
36
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
37
37
|
with:
|
|
38
38
|
persist-credentials: false
|
|
39
|
-
- uses: PyO3/maturin-action@v1
|
|
39
|
+
- uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
|
|
40
40
|
with:
|
|
41
41
|
working-directory: pypi
|
|
42
42
|
target: ${{ matrix.target }}
|
|
43
43
|
# The same glibc as the Linux binaries in the GitHub release. See dist-workspace.toml.
|
|
44
44
|
manylinux: 2_28
|
|
45
45
|
args: --out dist
|
|
46
|
-
- uses: actions/upload-artifact@v7
|
|
46
|
+
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
47
47
|
with:
|
|
48
48
|
name: wheel-${{ matrix.target }}
|
|
49
49
|
path: pypi/dist
|
|
@@ -51,15 +51,15 @@ jobs:
|
|
|
51
51
|
sdist:
|
|
52
52
|
runs-on: ubuntu-latest
|
|
53
53
|
steps:
|
|
54
|
-
- uses: actions/checkout@v7
|
|
54
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
55
55
|
with:
|
|
56
56
|
persist-credentials: false
|
|
57
|
-
- uses: PyO3/maturin-action@v1
|
|
57
|
+
- uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
|
|
58
58
|
with:
|
|
59
59
|
working-directory: pypi
|
|
60
60
|
command: sdist
|
|
61
61
|
args: --out dist
|
|
62
|
-
- uses: actions/upload-artifact@v7
|
|
62
|
+
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
63
63
|
with:
|
|
64
64
|
name: sdist
|
|
65
65
|
path: pypi/dist
|
|
@@ -73,8 +73,8 @@ jobs:
|
|
|
73
73
|
permissions:
|
|
74
74
|
id-token: write
|
|
75
75
|
steps:
|
|
76
|
-
- uses: actions/download-artifact@v8
|
|
76
|
+
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
77
77
|
with:
|
|
78
78
|
path: dist
|
|
79
79
|
merge-multiple: true
|
|
80
|
-
- uses: pypa/gh-action-pypi-publish@
|
|
80
|
+
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
|
|
@@ -56,7 +56,7 @@ jobs:
|
|
|
56
56
|
env:
|
|
57
57
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
58
58
|
steps:
|
|
59
|
-
- uses: actions/checkout@
|
|
59
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
|
60
60
|
with:
|
|
61
61
|
persist-credentials: false
|
|
62
62
|
submodules: recursive
|
|
@@ -66,7 +66,7 @@ jobs:
|
|
|
66
66
|
shell: bash
|
|
67
67
|
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.32.0/cargo-dist-installer.sh | sh"
|
|
68
68
|
- name: Cache dist
|
|
69
|
-
uses: actions/upload-artifact@
|
|
69
|
+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
|
|
70
70
|
with:
|
|
71
71
|
name: cargo-dist-cache
|
|
72
72
|
path: ~/.cargo/bin/dist
|
|
@@ -82,7 +82,7 @@ jobs:
|
|
|
82
82
|
cat plan-dist-manifest.json
|
|
83
83
|
echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
|
|
84
84
|
- name: "Upload dist-manifest.json"
|
|
85
|
-
uses: actions/upload-artifact@
|
|
85
|
+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
|
|
86
86
|
with:
|
|
87
87
|
name: artifacts-plan-dist-manifest
|
|
88
88
|
path: plan-dist-manifest.json
|
|
@@ -116,7 +116,7 @@ jobs:
|
|
|
116
116
|
- name: enable windows longpaths
|
|
117
117
|
run: |
|
|
118
118
|
git config --global core.longpaths true
|
|
119
|
-
- uses: actions/checkout@
|
|
119
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
|
120
120
|
with:
|
|
121
121
|
persist-credentials: false
|
|
122
122
|
submodules: recursive
|
|
@@ -131,7 +131,7 @@ jobs:
|
|
|
131
131
|
run: ${{ matrix.install_dist.run }}
|
|
132
132
|
# Get the dist-manifest
|
|
133
133
|
- name: Fetch local artifacts
|
|
134
|
-
uses: actions/download-artifact@
|
|
134
|
+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
|
|
135
135
|
with:
|
|
136
136
|
pattern: artifacts-*
|
|
137
137
|
path: target/distrib/
|
|
@@ -158,7 +158,7 @@ jobs:
|
|
|
158
158
|
|
|
159
159
|
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
|
|
160
160
|
- name: "Upload artifacts"
|
|
161
|
-
uses: actions/upload-artifact@
|
|
161
|
+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
|
|
162
162
|
with:
|
|
163
163
|
name: artifacts-build-local-${{ join(matrix.targets, '_') }}
|
|
164
164
|
path: |
|
|
@@ -175,19 +175,19 @@ jobs:
|
|
|
175
175
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
176
176
|
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
|
|
177
177
|
steps:
|
|
178
|
-
- uses: actions/checkout@
|
|
178
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
|
179
179
|
with:
|
|
180
180
|
persist-credentials: false
|
|
181
181
|
submodules: recursive
|
|
182
182
|
- name: Install cached dist
|
|
183
|
-
uses: actions/download-artifact@
|
|
183
|
+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
|
|
184
184
|
with:
|
|
185
185
|
name: cargo-dist-cache
|
|
186
186
|
path: ~/.cargo/bin/
|
|
187
187
|
- run: chmod +x ~/.cargo/bin/dist
|
|
188
188
|
# Get all the local artifacts for the global tasks to use (for e.g. checksums)
|
|
189
189
|
- name: Fetch local artifacts
|
|
190
|
-
uses: actions/download-artifact@
|
|
190
|
+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
|
|
191
191
|
with:
|
|
192
192
|
pattern: artifacts-*
|
|
193
193
|
path: target/distrib/
|
|
@@ -205,39 +205,53 @@ jobs:
|
|
|
205
205
|
|
|
206
206
|
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
|
|
207
207
|
- name: "Upload artifacts"
|
|
208
|
-
uses: actions/upload-artifact@
|
|
208
|
+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
|
|
209
209
|
with:
|
|
210
210
|
name: artifacts-build-global
|
|
211
211
|
path: |
|
|
212
212
|
${{ steps.cargo-dist.outputs.paths }}
|
|
213
213
|
${{ env.BUILD_MANIFEST_NAME }}
|
|
214
|
+
|
|
215
|
+
custom-sign-archives:
|
|
216
|
+
needs:
|
|
217
|
+
- plan
|
|
218
|
+
- build-local-artifacts
|
|
219
|
+
uses: ./.github/workflows/sign-archives.yml
|
|
220
|
+
with:
|
|
221
|
+
plan: ${{ needs.plan.outputs.val }}
|
|
222
|
+
secrets: inherit
|
|
214
223
|
# Determines if we should publish/announce
|
|
215
224
|
host:
|
|
216
225
|
needs:
|
|
217
226
|
- plan
|
|
218
227
|
- build-local-artifacts
|
|
219
228
|
- build-global-artifacts
|
|
229
|
+
- custom-sign-archives
|
|
220
230
|
# Only run if we're "publishing", and only if plan, local and global didn't fail (skipped is fine)
|
|
221
|
-
if: ${{ always() && needs.plan.result == 'success' && needs.plan.outputs.publishing == 'true' && (needs.build-global-artifacts.result == 'skipped' || needs.build-global-artifacts.result == 'success') && (needs.build-local-artifacts.result == 'skipped' || needs.build-local-artifacts.result == 'success') }}
|
|
231
|
+
if: ${{ always() && needs.plan.result == 'success' && needs.plan.outputs.publishing == 'true' && (needs.build-global-artifacts.result == 'skipped' || needs.build-global-artifacts.result == 'success') && (needs.custom-sign-archives.result == 'skipped' || needs.custom-sign-archives.result == 'success') && (needs.build-local-artifacts.result == 'skipped' || needs.build-local-artifacts.result == 'success') }}
|
|
222
232
|
env:
|
|
223
233
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
224
234
|
runs-on: "ubuntu-latest"
|
|
225
235
|
outputs:
|
|
226
236
|
val: ${{ steps.host.outputs.manifest }}
|
|
237
|
+
permissions:
|
|
238
|
+
"attestations": "write"
|
|
239
|
+
"contents": "write"
|
|
240
|
+
"id-token": "write"
|
|
227
241
|
steps:
|
|
228
|
-
- uses: actions/checkout@
|
|
242
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
|
229
243
|
with:
|
|
230
244
|
persist-credentials: false
|
|
231
245
|
submodules: recursive
|
|
232
246
|
- name: Install cached dist
|
|
233
|
-
uses: actions/download-artifact@
|
|
247
|
+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
|
|
234
248
|
with:
|
|
235
249
|
name: cargo-dist-cache
|
|
236
250
|
path: ~/.cargo/bin/
|
|
237
251
|
- run: chmod +x ~/.cargo/bin/dist
|
|
238
252
|
# Fetch artifacts from scratch-storage
|
|
239
253
|
- name: Fetch artifacts
|
|
240
|
-
uses: actions/download-artifact@
|
|
254
|
+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
|
|
241
255
|
with:
|
|
242
256
|
pattern: artifacts-*
|
|
243
257
|
path: target/distrib/
|
|
@@ -250,14 +264,14 @@ jobs:
|
|
|
250
264
|
cat dist-manifest.json
|
|
251
265
|
echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
|
|
252
266
|
- name: "Upload dist-manifest.json"
|
|
253
|
-
uses: actions/upload-artifact@
|
|
267
|
+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
|
|
254
268
|
with:
|
|
255
269
|
# Overwrite the previous copy
|
|
256
270
|
name: artifacts-dist-manifest
|
|
257
271
|
path: dist-manifest.json
|
|
258
272
|
# Create a GitHub Release while uploading all files to it
|
|
259
273
|
- name: "Download GitHub Artifacts"
|
|
260
|
-
uses: actions/download-artifact@
|
|
274
|
+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
|
|
261
275
|
with:
|
|
262
276
|
pattern: artifacts-*
|
|
263
277
|
path: artifacts
|
|
@@ -266,6 +280,11 @@ jobs:
|
|
|
266
280
|
run: |
|
|
267
281
|
# Remove the granular manifests
|
|
268
282
|
rm -f artifacts/*-dist-manifest.json
|
|
283
|
+
- name: Attest
|
|
284
|
+
uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6
|
|
285
|
+
with:
|
|
286
|
+
subject-path: |
|
|
287
|
+
artifacts/*
|
|
269
288
|
- name: Create GitHub Release
|
|
270
289
|
env:
|
|
271
290
|
PRERELEASE_FLAG: "${{ fromJson(steps.host.outputs.manifest).announcement_is_prerelease && '--prerelease' || '' }}"
|
|
@@ -290,14 +309,14 @@ jobs:
|
|
|
290
309
|
GITHUB_EMAIL: "admin+bot@axo.dev"
|
|
291
310
|
if: ${{ !fromJson(needs.plan.outputs.val).announcement_is_prerelease || fromJson(needs.plan.outputs.val).publish_prereleases }}
|
|
292
311
|
steps:
|
|
293
|
-
- uses: actions/checkout@
|
|
312
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
|
294
313
|
with:
|
|
295
314
|
persist-credentials: true
|
|
296
315
|
repository: "mennanov/homebrew-blockwatch"
|
|
297
316
|
token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
|
|
298
317
|
# So we have access to the formula
|
|
299
318
|
- name: Fetch homebrew formulae
|
|
300
|
-
uses: actions/download-artifact@
|
|
319
|
+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
|
|
301
320
|
with:
|
|
302
321
|
pattern: artifacts-*
|
|
303
322
|
path: Formula/
|
|
@@ -337,7 +356,7 @@ jobs:
|
|
|
337
356
|
env:
|
|
338
357
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
339
358
|
steps:
|
|
340
|
-
- uses: actions/checkout@
|
|
359
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
|
341
360
|
with:
|
|
342
361
|
persist-credentials: false
|
|
343
362
|
submodules: recursive
|
|
@@ -20,15 +20,17 @@ jobs:
|
|
|
20
20
|
runs-on: ubuntu-latest
|
|
21
21
|
|
|
22
22
|
steps:
|
|
23
|
-
- uses: actions/checkout@v7
|
|
24
|
-
- uses: dtolnay/rust-toolchain@
|
|
23
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
24
|
+
- uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # v1
|
|
25
25
|
with:
|
|
26
26
|
toolchain: stable
|
|
27
27
|
components: llvm-tools-preview, clippy, rustfmt
|
|
28
28
|
- name: Cache cargo
|
|
29
|
-
uses: Swatinem/rust-cache@v2
|
|
29
|
+
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
|
|
30
30
|
- name: Install cargo-llvm-cov
|
|
31
|
-
uses: taiki-e/install-action@
|
|
31
|
+
uses: taiki-e/install-action@cfdb7ed4ccc7c7dce37759eae89dc5674b469b39 # v2.90.3
|
|
32
|
+
with:
|
|
33
|
+
tool: cargo-llvm-cov
|
|
32
34
|
- name: Check formatting
|
|
33
35
|
run: cargo fmt --check
|
|
34
36
|
- name: Run Clippy lint
|
|
@@ -44,7 +46,7 @@ jobs:
|
|
|
44
46
|
- name: Run tests
|
|
45
47
|
run: cargo llvm-cov --lcov --output-path coverage.lcov
|
|
46
48
|
- name: Upload coverage report to Codecov
|
|
47
|
-
uses: codecov/codecov-action@v7
|
|
49
|
+
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
|
|
48
50
|
with:
|
|
49
51
|
files: coverage.lcov
|
|
50
52
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Signs each release archive with minisign, so `cargo binstall` can check a download against the public key in
|
|
2
|
+
# Cargo.toml. release.yml calls it after the builds and uploads the signatures with the archives.
|
|
3
|
+
#
|
|
4
|
+
# This job only signs. It never builds or runs code from the repository, so the secret key stays away from the
|
|
5
|
+
# dependencies' build scripts.
|
|
6
|
+
name: Sign archives
|
|
7
|
+
|
|
8
|
+
on:
|
|
9
|
+
workflow_call:
|
|
10
|
+
inputs:
|
|
11
|
+
# dist passes its plan to every custom job. This one doesn't need it.
|
|
12
|
+
plan:
|
|
13
|
+
required: true
|
|
14
|
+
type: string
|
|
15
|
+
|
|
16
|
+
permissions:
|
|
17
|
+
contents: read
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
sign:
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
# The secret key lives in this environment, which only a version tag can use. A workflow on a branch can't read it.
|
|
23
|
+
environment: release
|
|
24
|
+
steps:
|
|
25
|
+
# Only for the public key in Cargo.toml.
|
|
26
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
27
|
+
with:
|
|
28
|
+
persist-credentials: false
|
|
29
|
+
- name: Fetch the archives
|
|
30
|
+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
31
|
+
with:
|
|
32
|
+
pattern: artifacts-build-local-*
|
|
33
|
+
path: archives
|
|
34
|
+
merge-multiple: true
|
|
35
|
+
- name: Install minisign
|
|
36
|
+
run: sudo apt-get update && sudo apt-get install --yes minisign
|
|
37
|
+
- name: Sign and verify
|
|
38
|
+
env:
|
|
39
|
+
MINISIGN_SECRET_KEY: ${{ secrets.MINISIGN_SECRET_KEY }}
|
|
40
|
+
run: |
|
|
41
|
+
set -euo pipefail
|
|
42
|
+
if [ -z "$MINISIGN_SECRET_KEY" ]; then
|
|
43
|
+
echo "error: the MINISIGN_SECRET_KEY secret of the 'release' environment is empty" >&2
|
|
44
|
+
exit 1
|
|
45
|
+
fi
|
|
46
|
+
# The key is written outside the workspace, so no later step can upload it.
|
|
47
|
+
key="$RUNNER_TEMP/minisign.key"
|
|
48
|
+
printf '%s\n' "$MINISIGN_SECRET_KEY" > "$key"
|
|
49
|
+
trap 'rm -f "$key"' EXIT
|
|
50
|
+
|
|
51
|
+
pubkey=$(sed -n 's/^pubkey = "\(.*\)"$/\1/p' Cargo.toml)
|
|
52
|
+
if [ -z "$pubkey" ]; then
|
|
53
|
+
echo "error: Cargo.toml has no 'pubkey' under [package.metadata.binstall.signing]" >&2
|
|
54
|
+
exit 1
|
|
55
|
+
fi
|
|
56
|
+
|
|
57
|
+
shopt -s nullglob
|
|
58
|
+
archives=(archives/*.tar.xz archives/*.zip)
|
|
59
|
+
if [ "${#archives[@]}" -eq 0 ]; then
|
|
60
|
+
echo "error: the build jobs uploaded no .tar.xz or .zip archive to sign" >&2
|
|
61
|
+
exit 1
|
|
62
|
+
fi
|
|
63
|
+
|
|
64
|
+
mkdir signatures
|
|
65
|
+
for archive in "${archives[@]}"; do
|
|
66
|
+
signature="signatures/$(basename "$archive").sig"
|
|
67
|
+
# -W reads a key without a password. The step has no terminal to ask for one.
|
|
68
|
+
minisign -S -W -s "$key" -m "$archive" -x "$signature"
|
|
69
|
+
# A secret key that doesn't match Cargo.toml would sign archives that binstall then refuses. Checking
|
|
70
|
+
# here stops the release before it is published.
|
|
71
|
+
minisign -V -P "$pubkey" -m "$archive" -x "$signature"
|
|
72
|
+
done
|
|
73
|
+
# release.yml uploads every file of each `artifacts-*` artifact to the release.
|
|
74
|
+
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
75
|
+
with:
|
|
76
|
+
name: artifacts-signatures
|
|
77
|
+
path: signatures/*.sig
|
|
78
|
+
if-no-files-found: error
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
name: site
|
|
2
|
+
|
|
3
|
+
# A pull request only builds the site. The build fails when a file in docs/ is missing from the sidebar, so the pull
|
|
4
|
+
# request that adds the file fails, not the deploy after the merge. A pull request from a fork gets no secrets, so it
|
|
5
|
+
# couldn't deploy anyway.
|
|
6
|
+
#
|
|
7
|
+
# The paths are everything the site reads: its own folder, the docs, README.md, and Cargo.toml for the version on the
|
|
8
|
+
# landing page. So a release commit deploys too.
|
|
9
|
+
on:
|
|
10
|
+
push:
|
|
11
|
+
branches: [ "main" ]
|
|
12
|
+
paths:
|
|
13
|
+
- "site/**"
|
|
14
|
+
- "docs/**"
|
|
15
|
+
- "README.md"
|
|
16
|
+
- "Cargo.toml"
|
|
17
|
+
- ".github/workflows/site.yml"
|
|
18
|
+
pull_request:
|
|
19
|
+
branches: [ "main" ]
|
|
20
|
+
paths:
|
|
21
|
+
- "site/**"
|
|
22
|
+
- "docs/**"
|
|
23
|
+
- "README.md"
|
|
24
|
+
- "Cargo.toml"
|
|
25
|
+
- ".github/workflows/site.yml"
|
|
26
|
+
workflow_dispatch:
|
|
27
|
+
|
|
28
|
+
permissions:
|
|
29
|
+
contents: read
|
|
30
|
+
|
|
31
|
+
# Two pushes in a row deploy one after the other. Cancelling a deploy halfway could leave the older build live.
|
|
32
|
+
concurrency:
|
|
33
|
+
group: site-${{ github.ref }}
|
|
34
|
+
cancel-in-progress: false
|
|
35
|
+
|
|
36
|
+
jobs:
|
|
37
|
+
site:
|
|
38
|
+
runs-on: ubuntu-latest
|
|
39
|
+
defaults:
|
|
40
|
+
run:
|
|
41
|
+
working-directory: site
|
|
42
|
+
steps:
|
|
43
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
44
|
+
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
|
45
|
+
with:
|
|
46
|
+
# Astro needs Node 22.23.4 or newer.
|
|
47
|
+
node-version: 24
|
|
48
|
+
cache: npm
|
|
49
|
+
cache-dependency-path: site/package-lock.json
|
|
50
|
+
- run: npm ci
|
|
51
|
+
- run: npm run build
|
|
52
|
+
- name: Deploy to Cloudflare Pages
|
|
53
|
+
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
|
|
54
|
+
uses: cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0 # v4.1.3
|
|
55
|
+
with:
|
|
56
|
+
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
57
|
+
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
|
58
|
+
workingDirectory: site
|
|
59
|
+
# Cloudflare treats a deploy as production only when its branch is the project's production branch.
|
|
60
|
+
command: pages deploy dist --project-name=blockwatch-cli --branch=main
|
|
@@ -28,9 +28,4 @@ tests/testdata/list/.hg/wcache/
|
|
|
28
28
|
.gemini/
|
|
29
29
|
.github/copilot/
|
|
30
30
|
tasks/
|
|
31
|
-
|
|
32
|
-
# Everything else under /docs/ is published documentation linked from the README.
|
|
33
|
-
/docs/superpowers/
|
|
34
|
-
/docs/dev-vm.md
|
|
35
|
-
/docs/one-time-submissions.md
|
|
36
|
-
/docs/blockwatch-feature-proposals.md
|
|
31
|
+
skills/
|
|
@@ -25,6 +25,10 @@ config:
|
|
|
25
25
|
# A recipe line in a Makefile must start with a tab, so an example with spaces would not work.
|
|
26
26
|
ignore_code_languages:
|
|
27
27
|
- make
|
|
28
|
+
MD033:
|
|
29
|
+
# Markdown image syntax can't set a size, and the logo's SVG has none of its own.
|
|
30
|
+
allowed_elements:
|
|
31
|
+
- img
|
|
28
32
|
MD024:
|
|
29
33
|
# CHANGELOG.md follows Keep a Changelog, where every release repeats "Added" and "Fixed".
|
|
30
34
|
# Requiring uniqueness only among headings sharing a parent still catches a real duplicate.
|
|
@@ -51,6 +51,16 @@ repos:
|
|
|
51
51
|
types: [ rust ]
|
|
52
52
|
stages: [ pre-commit ]
|
|
53
53
|
pass_filenames: false
|
|
54
|
+
- id: site-build
|
|
55
|
+
name: build the site
|
|
56
|
+
# The site reads these files, and its build fails when a page in docs/ is missing from the
|
|
57
|
+
# sidebar. A push to main deploys the site, so a broken build would only show up after the
|
|
58
|
+
# push. The hook needs `npm ci` run once in site/.
|
|
59
|
+
entry: npm --prefix site run build
|
|
60
|
+
files: ^(site/|docs/|README\.md$|Cargo\.toml$)
|
|
61
|
+
language: system
|
|
62
|
+
stages: [ pre-commit ]
|
|
63
|
+
pass_filenames: false
|
|
54
64
|
|
|
55
65
|
# Rules and the set of files linted live in `.markdownlint-cli2.yaml`, which the tool picks up
|
|
56
66
|
# from the repository root. The hook passes only the staged Markdown files, so a commit is judged
|
|
@@ -302,6 +302,15 @@ The GitHub Actions workflows in `.github/workflows/` build releases with `cargo-
|
|
|
302
302
|
`dist-workspace.toml`. `cargo release` bumps the version in `Cargo.toml`, in a commit titled `chore: Release`, and
|
|
303
303
|
tags that commit `vX.Y.Z`.
|
|
304
304
|
|
|
305
|
+
`release.yml` is generated. Change `dist-workspace.toml`, then run `dist generate`. It calls `sign-archives.yml`,
|
|
306
|
+
which signs each archive with minisign. The secret key is `MINISIGN_SECRET_KEY` in the `release` environment, which
|
|
307
|
+
only `v*` tags can use. The public key is in `Cargo.toml`, where `cargo binstall` reads it, and in `SECURITY.md`. If
|
|
308
|
+
signing fails, no GitHub release is created, but the crate is already on crates.io. Fix the cause and release a new
|
|
309
|
+
patch version.
|
|
310
|
+
|
|
311
|
+
Each action in a workflow is pinned to a full commit, with its version in a comment. Dependabot bumps both, except
|
|
312
|
+
in `release.yml`, whose pins are in `dist-workspace.toml`. The one exception is `mennanov/blockwatch-action@v1`.
|
|
313
|
+
|
|
305
314
|
`pypi.yml` builds the same tag for PyPI, as `blockwatch-cli`. The pre-commit hooks install that package through the
|
|
306
315
|
root `setup.py`. So if the upload for a tag fails, the hooks at that tag can't install.
|
|
307
316
|
|
|
@@ -12,6 +12,20 @@ Releases up to and including v0.3.11 predate this file. Their notes live on the
|
|
|
12
12
|
|
|
13
13
|
## [Unreleased] - ReleaseDate
|
|
14
14
|
|
|
15
|
+
## [0.18.1] - 2026-11-11
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- Symbols in Dockerfiles (`Dockerfile`, `Containerfile`, `.dockerfile` and `.containerfile`). `Dockerfile#/GO_VERSION`
|
|
20
|
+
points at the default value of an `ARG` or the value of an `ENV`, and `#/builder/CGO_ENABLED` at a value in a named
|
|
21
|
+
stage. Each `ARG` with a default, each `ENV`, each `LABEL` and each named stage is a symbol. See
|
|
22
|
+
[Dockerfile](docs/symbols.md#dockerfile).
|
|
23
|
+
- Recognize Dockerfiles named with a suffix, such as `Dockerfile.ci` and `Containerfile.prod`.
|
|
24
|
+
`Dockerfile.dockerignore` and `Containerfile.dockerignore` are ignored.
|
|
25
|
+
- Each release archive has a minisign signature, such as `blockwatch-x86_64-unknown-linux-gnu.tar.xz.sig`.
|
|
26
|
+
`cargo binstall blockwatch` checks it against the public key in the crate. Each release file also has a build
|
|
27
|
+
attestation, which `gh attestation verify` checks. See [Verifying a Download](SECURITY.md#verifying-a-download).
|
|
28
|
+
|
|
15
29
|
## [0.18.0] - 2026-11-07
|
|
16
30
|
|
|
17
31
|
### Added
|
|
@@ -302,6 +302,15 @@ The GitHub Actions workflows in `.github/workflows/` build releases with `cargo-
|
|
|
302
302
|
`dist-workspace.toml`. `cargo release` bumps the version in `Cargo.toml`, in a commit titled `chore: Release`, and
|
|
303
303
|
tags that commit `vX.Y.Z`.
|
|
304
304
|
|
|
305
|
+
`release.yml` is generated. Change `dist-workspace.toml`, then run `dist generate`. It calls `sign-archives.yml`,
|
|
306
|
+
which signs each archive with minisign. The secret key is `MINISIGN_SECRET_KEY` in the `release` environment, which
|
|
307
|
+
only `v*` tags can use. The public key is in `Cargo.toml`, where `cargo binstall` reads it, and in `SECURITY.md`. If
|
|
308
|
+
signing fails, no GitHub release is created, but the crate is already on crates.io. Fix the cause and release a new
|
|
309
|
+
patch version.
|
|
310
|
+
|
|
311
|
+
Each action in a workflow is pinned to a full commit, with its version in a comment. Dependabot bumps both, except
|
|
312
|
+
in `release.yml`, whose pins are in `dist-workspace.toml`. The one exception is `mennanov/blockwatch-action@v1`.
|
|
313
|
+
|
|
305
314
|
`pypi.yml` builds the same tag for PyPI, as `blockwatch-cli`. The pre-commit hooks install that package through the
|
|
306
315
|
root `setup.py`. So if the upload for a tag fails, the hooks at that tag can't install.
|
|
307
316
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "blockwatch"
|
|
3
|
-
version = "0.18.
|
|
3
|
+
version = "0.18.1"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
repository = "https://github.com/mennanov/blockwatch"
|
|
6
6
|
description = "Language agnostic linter that keeps your code and documentation in sync and valid"
|
|
@@ -8,8 +8,16 @@ homepage = "https://github.com/mennanov/blockwatch"
|
|
|
8
8
|
license = "MIT"
|
|
9
9
|
keywords = ["linter", "sync", "drift", "comments", "agents"]
|
|
10
10
|
categories = ["development-tools", "command-line-utilities"]
|
|
11
|
+
# The website is built and hosted on its own; the crate doesn't need it.
|
|
12
|
+
exclude = ["site/"]
|
|
11
13
|
readme = "README.md"
|
|
12
14
|
|
|
15
|
+
# `cargo binstall` checks each release archive against this key. The release workflow signs the archives with the
|
|
16
|
+
# secret half. A version published with a key that didn't sign its archives can't be installed with binstall.
|
|
17
|
+
[package.metadata.binstall.signing]
|
|
18
|
+
algorithm = "minisign"
|
|
19
|
+
pubkey = "RWQAy2A3WWnUR2c5oDQ343TyWusiMS1fWYC5G6bufHV7GbByRW0DQf9i"
|
|
20
|
+
|
|
13
21
|
[workspace]
|
|
14
22
|
|
|
15
23
|
[dependencies]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: blockwatch-cli
|
|
3
|
-
Version: 0.18.
|
|
3
|
+
Version: 0.18.1
|
|
4
4
|
Summary: Language agnostic linter that keeps your code and documentation in sync and valid
|
|
5
5
|
Keywords: linter,sync,drift,comments,agents
|
|
6
6
|
Home-Page: https://github.com/mennanov/blockwatch
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# blockwatch
|
|
1
|
+
# <img src="site/src/assets/logo.svg" alt="" width="32" height="32" align="absmiddle"> blockwatch
|
|
2
2
|
|
|
3
3
|
[](https://github.com/mennanov/blockwatch/actions)
|
|
4
4
|
[](https://codecov.io/gh/mennanov/blockwatch)
|
|
@@ -133,6 +133,8 @@ See the [Validators Reference](docs/validators/README.md) for full details.
|
|
|
133
133
|
|
|
134
134
|
## Installation
|
|
135
135
|
|
|
136
|
+
<!-- <block name="install"> -->
|
|
137
|
+
|
|
136
138
|
```shell
|
|
137
139
|
# macOS and Linux, with Homebrew
|
|
138
140
|
brew install mennanov/blockwatch/blockwatch
|
|
@@ -150,7 +152,10 @@ pipx install blockwatch-cli # or: uv tool install blockwatch-cli
|
|
|
150
152
|
cargo install blockwatch
|
|
151
153
|
```
|
|
152
154
|
|
|
153
|
-
|
|
155
|
+
<!-- </block> -->
|
|
156
|
+
|
|
157
|
+
Prebuilt binaries are on the [Releases](https://github.com/mennanov/blockwatch/releases) page. Each archive is signed.
|
|
158
|
+
See [Verifying a Download](SECURITY.md#verifying-a-download).
|
|
154
159
|
|
|
155
160
|
## AI Agents
|
|
156
161
|
|
|
@@ -158,11 +163,15 @@ The [skill](src/skill.md) tells an agent where blocks make sense, how to format
|
|
|
158
163
|
`blockwatch skill` prints it. The [Quick Start](#quick-start) prompt sets it up in a single project. To install it
|
|
159
164
|
globally for every project in Claude Code instead:
|
|
160
165
|
|
|
166
|
+
<!-- <block name="plugin-install"> -->
|
|
167
|
+
|
|
161
168
|
```text
|
|
162
169
|
/plugin marketplace add mennanov/blockwatch
|
|
163
170
|
/plugin install blockwatch@blockwatch
|
|
164
171
|
```
|
|
165
172
|
|
|
173
|
+
<!-- </block> -->
|
|
174
|
+
|
|
166
175
|
See [docs/agents.md](docs/agents.md) for Cursor, Copilot, Codex, and other agent setups.
|
|
167
176
|
|
|
168
177
|
## Usage
|
|
@@ -234,7 +243,7 @@ exclusions, and custom extension mappings.
|
|
|
234
243
|
|
|
235
244
|
```yaml
|
|
236
245
|
- repo: https://github.com/mennanov/blockwatch
|
|
237
|
-
rev: v0.18.
|
|
246
|
+
rev: v0.18.1 # Use latest release
|
|
238
247
|
hooks:
|
|
239
248
|
- id: blockwatch
|
|
240
249
|
```
|