Skip to content

putting yml under the right directory #1

putting yml under the right directory

putting yml under the right directory #1

Workflow file for this run

name: Ruff - Lint, Format, and Commit
on: pull_request
jobs:
lint:

Check failure on line 4 in .github/workflows/lint_and_format.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint_and_format.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
version: 0.3.5
args: check --fix
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'lint fixes by ruff'
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
version: 0.3.5
args: format
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'formatting by ruff'