fix python docs syntax errors #988
Workflow file for this run
This file contains hidden or 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: Package Lock | |
on: [pull_request] | |
jobs: | |
check-package-lock-typescript: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda | |
with: | |
run_install: false | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: "pnpm" | |
cache-dependency-path: ./typescript | |
- name: Check if pnpm-lock.yaml changed | |
working-directory: ./typescript | |
run: | | |
pnpm install | |
if [ -n "$(git diff pnpm-lock.yaml)" ]; then | |
echo "Error: pnpm-lock.yaml was modified after running pnpm install. Please commit the updated pnpm-lock.yaml file." | |
git diff pnpm-lock.yaml | |
exit 1 | |
fi | |
check-package-lock-examples-typescript: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda | |
with: | |
run_install: false | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: "pnpm" | |
cache-dependency-path: ./examples/typescript | |
- name: Check if pnpm-lock.yaml changed | |
working-directory: ./examples/typescript | |
run: | | |
pnpm install | |
if [ -n "$(git diff pnpm-lock.yaml)" ]; then | |
echo "Error: pnpm-lock.yaml was modified after running pnpm install. Please commit the updated pnpm-lock.yaml file." | |
git diff pnpm-lock.yaml | |
exit 1 | |
fi |