Fix transformers 4.46+ compatibility while maintaining backward compatibility #78
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Check Code Formatting with Ruff | |
run: | | |
echo "python version: $(python --version)" | |
pip install ruff==0.12.2 # Ensure ruff is installed | |
ruff format --check . |