Skip to content

feat: add taskName to Information #10

feat: add taskName to Information

feat: add taskName to Information #10

Workflow file for this run

name: Ruff
on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff
run: |
ruff check --output-format=github **/*.py
ruff format --check **/*.py \
|| (echo "::error:: Run `ruff format` to fix the issues" && exit 1)