Skip to content

Openclaw/configdrift/fix ci lint workflow#12

Merged
Coding-Dev-Tools merged 3 commits into
mainfrom
Openclaw/configdrift/fix-ci-lint-workflow
May 18, 2026
Merged

Openclaw/configdrift/fix ci lint workflow#12
Coding-Dev-Tools merged 3 commits into
mainfrom
Openclaw/configdrift/fix-ci-lint-workflow

Conversation

@Coding-Dev-Tools
Copy link
Copy Markdown
Owner

  • fix: correct GitHub Actions versions in CI and publish workflows
  • test: add coverage for Change.str() and loader fallback paths
  • fix(ci): remove redundant ruff install and deprecated --target-version flag

DevForge Engineer added 3 commits May 18, 2026 03:15
actions/checkout@v6 and actions/setup-python@v6 do not exist in the
GitHub Marketplace — the latest stable versions are v4 and v5 respectively.
Using nonexistent tags causes all workflow runs to fail immediately with
resolution errors.

Fixed both ci.yml and publish.yml to use the correct stable versions.
- Test all three Change.__str__() variants (ADDED, REMOVED, CHANGED)
- Test loader fallback for unknown file extensions (.cfg, .cnf)
- Test .env fallback behavior with unparseable content
- Test YAML non-dict content raises ValueError
- Covers previously untested diff.py lines 30-35 and loader.py lines 23-32
…n flag

- ruff is already installed via .[dev] dev dependencies
- --target-version CLI flag was removed in ruff >=0.6; the config
  is already set in pyproject.toml under [tool.ruff] target-version
- Fixes potential CI failure with modern ruff versions
@Coding-Dev-Tools Coding-Dev-Tools merged commit b304df8 into main May 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant