Skip to content

[WIP] Add OTel Tracing #185

[WIP] Add OTel Tracing

[WIP] Add OTel Tracing #185

name: Linting Python custom files
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install Poetry
uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1.4.1
- name: Install dependencies
run: |
touch README-PYPI.md
poetry install --all-extras
# The init, sdkhooks.py and types.py files in the _hooks folders are generated by Speakeasy hence the exclusion
- name: Run all linters
run: scripts/lint_custom_code.sh