ansible-collection-hetzner-.../.github/workflows/lint.yml
Jonas L de1eed9cb5
ci: pin python version to 3.11 (#378)
##### SUMMARY

This is an attempt to fix the linting job:
https://github.com/ansible-collections/hetzner.hcloud/actions/runs/6692855477/job/18182866932

Run on python 3.11 until the following ticket is solved:
https://github.com/aio-libs/aiohttp/issues/7675
2023-10-30 17:30:11 +01:00

25 lines
454 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.11"
cache: pip
cache-dependency-path: requirements.txt
- name: Install dependencies
run: make venv
- name: Lint docs
run: make lint-docs