summaryrefslogtreecommitdiffstats
path: root/ansible_collections/hetzner/hcloud/.github/workflows/lint.yml
blob: 2205c461e00779d214ed0e9c0d7bf84d8ae7f34f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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@v5
        with:
          python-version: "3.11"
          cache: pip
          cache-dependency-path: requirements.txt

      - name: Install dependencies
        run: make venv

      - name: Lint docs
        run: make lint-docs