Skip to content

[WIP] Updated everything! #6

[WIP] Updated everything!

[WIP] Updated everything! #6

Workflow file for this run

---
name: Lint
on: # yamllint disable-line rule:truthy
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
pre-commit:
runs-on: ubuntu-latest
name: pre-commit
defaults:
run:
env:

Check failure on line 23 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / Lint

Invalid workflow file

The workflow is not valid. .github/workflows/lint.yml (Line: 23, Col: 9): Unexpected value 'env'
COLUMNS: 120
FORCE_COLOR: 1
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
cache: pip
- name: Install packages
run: python -m pip install --upgrade pip pre-commit
- name: Run linting tools
run: pre-commit run --all-files
env:
PRE_COMMIT_COLOR: always