fix performance issue in join_abbreviations #88
Workflow file for this run
This file contains 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: Run lints | |
on: | |
workflow_dispatch: | |
push: | |
paths: ["**.py"] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout master | |
uses: actions/checkout@v3 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v35 | |
with: | |
files: | | |
**/*.py | |
- name: Upgrade pip | |
run: pip install --upgrade pip | |
- name: Install ruff | |
run: pip install ruff | |
- name: Ruff check | |
run: ruff check ${{ steps.changed-files.outputs.all_changed_files }} | |
- name: Push back changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "fix auto-fixable linting errors" | |
commit_user_name: "linter-bot" | |
commit_user_email: "linter-bot@users.noreply.github.com" |