This repository has been archived by the owner on Sep 13, 2023. It is now read-only.
[pre-commit.ci] pre-commit autoupdate #1973
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: quality | |
on: | |
push: | |
branches: | |
# - "**" | |
- "blah" | |
tags-ignore: | |
- "*.*.*" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: "Pylint, Black, iSort, etc" | |
runs-on: macos-latest | |
steps: | |
- name: "Check out the repo" | |
uses: actions/checkout@v3 | |
- name: "Install Python" | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: "Install Deps" | |
run: python -m pip install --no-cache-dir tox | |
- name: "Lint" | |
run: python -m tox -e lint | |
# static: | |
# name: "eslint, stylelint, etc" | |
# runs-on: macos-latest | |
# steps: | |
# - name: "Check out the repo" | |
# uses: actions/checkout@v3 | |
# - name: "Install Node" | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: '14' | |
# - name: "Install Python" | |
# uses: actions/setup-python@v3 | |
# with: | |
# python-version: "3.9" | |
# - name: "Install Deps" | |
# run: | | |
# python -m pip install --no-cache-dir tox | |
# rm -rf package-lock.json | |
# rm -rf node_modules | |
# - name: "Test" | |
# run: tox -e static | |
# html: | |
# name: "djlint" | |
# runs-on: macos-latest | |
# steps: | |
# - name: "Check out the repo" | |
# uses: actions/checkout@v3 | |
# - name: "Install Python" | |
# uses: actions/setup-python@v3 | |
# with: | |
# python-version: "3.9" | |
# - name: "Install Deps" | |
# run: python -m pip install --no-cache-dir tox | |
# - name: "Lint" | |
# run: python -m tox -e djlint |