Skip to content

Merge pull request #1035 from rd4398/bootstrap-multiple-version-flag #3120

Merge pull request #1035 from rd4398/bootstrap-multiple-version-flag

Merge pull request #1035 from rd4398/bootstrap-multiple-version-flag #3120

Workflow file for this run

name: Check
on:
- push
- pull_request
permissions:
contents: read
jobs:
pre-commit:
name: pre-commit
runs-on: ubuntu-latest
if: ${{ !startsWith(github.ref, 'refs/tags') }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: "3.12" # minimum supported lang version
- name: Install Python dependencies
run: python -m pip install hatch 'click!=8.3.0'
- name: Run pre-commit hooks
run: hatch run lint:install-hooks && hatch run lint:precommit
pkglint:
name: pkglint
runs-on: ubuntu-latest
if: ${{ !startsWith(github.ref, 'refs/tags') }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: "3.12" # minimum supported lang version
- name: Install dependencies
run: python -m pip install hatch 'click!=8.3.0'
- name: Run
run: hatch run lint:pkglint
docs:
name: readthedocs
runs-on: ubuntu-latest
if: ${{ !startsWith(github.ref, 'refs/tags') }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: "3.12" # minimum supported lang version
- name: Install dependencies
run: python -m pip install hatch 'click!=8.3.0'
- name: Run
run: hatch run docs:build