Bump actions/checkout from 3.5.3 to 4.1.0 #921
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Lint | |
"on": | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
uses: kdeldycke/workflows/.github/workflows/[email protected] | |
lint-jinja: | |
name: Lint Jinja | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
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/[email protected] | |
- 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" |