Skip to content

Fix CI workflow failures#287

Open
detrin wants to merge 2 commits into
ing-bank:mainfrom
detrin:fix/ci-workflow-failures
Open

Fix CI workflow failures#287
detrin wants to merge 2 commits into
ing-bank:mainfrom
detrin:fix/ci-workflow-failures

Conversation

@detrin

@detrin detrin commented Apr 4, 2026

Copy link
Copy Markdown
Contributor

Fixes #281. Partially addresses #282.

Two changes:

1. Pin GitHub Actions to stable versions
actions/checkout@master and actions/setup-python@master no longer resolve, causing startup_failure on all PRs. Pinned to @v4/@v5. Also updated codecov/codecov-action from v1 to v4.

2. Scope mypy pre-commit hook to probatus/ only
mypy was scanning site-packages, failing on match statements in pytest internals because python_version = "3.9". Added files: ^probatus/ to the hook.

Verified on fork: https://github.com/detrin/probatus/actions/runs/23989798509 - CI starts and passes linting. Remaining test failures are pre-existing SHAP/XGBoost incompatibility.

detrin added 2 commits April 5, 2026 01:17
Replace @master refs with pinned versions to fix startup failures.
Prevents mypy from scanning site-packages, which fails when
installed packages use syntax newer than python_version = 3.9.
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.

CI uses unpinned @master refs for GitHub Actions

1 participant