Skip to content

Bump kdeldycke/workflows from 4.6.0 to 4.8.3 #1112

Bump kdeldycke/workflows from 4.6.0 to 4.8.3

Bump kdeldycke/workflows from 4.6.0 to 4.8.3 #1112

Workflow file for this run

---
name: Lint
"on":
push:
branches:
- main
pull_request:
jobs:
lint:
uses: kdeldycke/workflows/.github/workflows/lint.yaml@v4.8.3
lint-jinja:
name: Lint Jinja
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/setup-python@v5.2.0
with:
python-version: "3.12"
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.6.0/requirements/uv.txt
- name: Install djlint
run: |
uv tool install --with djlint djlint
- name: Autofix Jinja
run: |
djlint --lint --profile jinja plumage/templates/*.html
lint-css:
name: Lint CSS files
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4.1.7
- name: Install stylelint
run: |
npm install --save-dev stylelint stylelint-config-standard stylelint-config-sass-guidelines
- name: Lint CSS
run: |
npx stylelint --config stylelint-config-standard "plumage/static/**/*.css"
- name: Lint SCSS
run: |
npx stylelint --config stylelint-config-sass-guidelines "plumage/static/**/*.scss"