You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Pinned, not ubuntu-latest: the 26.04 image has no Python 3.8/3.9 and its
# toolchain fails to build pytrec-eval. See .github/workflows/README.md.
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install requirements
run: |
pip install ".[dev]"
- name: Install the pre-commit hooks
run: |
pre-commit install
- name: Validate all pre-commit verification were run correctly
run: |
pre-commit run --all-files
- name: Send failure message
if: failure() # This step will only run if a previous step failed
run: echo "The quality & security verification failed. This is likely due to not using pre-commit hooks please run 'pre-commit install' befroe any commit. "