Skip to content

Bump actions/checkout from 3.5.3 to 3.6.0 #911

Bump actions/checkout from 3.5.3 to 3.6.0

Bump actions/checkout from 3.5.3 to 3.6.0 #911

Workflow file for this run

---
name: Lint
"on":
push:
branches:
- main
pull_request:
jobs:
lint:
uses: kdeldycke/workflows/.github/workflows/lint.yaml@v2.17.4
lint-jinja:
name: Lint Jinja
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3.6.0
- uses: actions/setup-python@v4.6.1
with:
python-version: "3.11"
- name: Install djlint
run: |
python -m pip install --upgrade pip poetry
poetry install
- name: Autofix Jinja
run: >
poetry run djlint --lint --profile jinja plumage/templates/*.html
lint-css:
name: Lint CSS files
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3.6.0
- name: Insall 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"