Fix link to API docs for rate-limits in atproto_client/auth.md #363
Workflow file for this run
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: Codegen check | |
on: [ pull_request ] | |
permissions: | |
contents: read | |
jobs: | |
codegen_check: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, windows-latest, macos-latest ] | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Run Cimon (eBPF). | |
if: runner.os == 'Linux' | |
uses: cycodelabs/cimon-action@v0 | |
with: | |
prevent: true | |
allowed-hosts: > | |
files.pythonhosted.org | |
install.python-poetry.org | |
pypi.org | |
- name: Checkout repository. | |
uses: actions/checkout@v4 | |
- name: Set up Python. | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Setup Poetry. | |
uses: snok/install-poetry@v1 | |
with: | |
version: 1.8.3 | |
- name: Install dependencies. | |
run: poetry install --no-interaction | |
- name: Run codegen. | |
run: poetry run atproto gen all | |
- name: Run docs gen. | |
if: runner.os == 'Linux' | |
run: | | |
source $(poetry env info -p)/bin/activate | |
make -s -C docs gen | |
- name: Check working directory is clean. | |
run: git diff --exit-code |