ansible-collection-hetzner-.../.github/workflows/lint.yml
Jonas L 9eab32cf3d
chore: pre-commit improvements (#348)
##### SUMMARY

- Speed up pre-commit by moving some tasks out of pre-commit
- Move network related hooks out of pre-commit (allow enabling
pre-commit.ci)
- Some optimization
- Use pre-commit.ci
2023-10-06 16:02:46 +02:00

25 lines
451 B
YAML

name: Lint
on:
push:
branches: [main, stable-1]
pull_request:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: 3.x
cache: pip
cache-dependency-path: requirements.txt
- name: Install dependencies
run: make venv
- name: Lint docs
run: make lint-docs