Skip to content

build(deps): bump actions/setup-python from 5 to 6 #17

build(deps): bump actions/setup-python from 5 to 6

build(deps): bump actions/setup-python from 5 to 6 #17

name: check code snippets
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
check-code-snippets:
name: check-code-snippets
runs-on:
- ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Setup python
uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
- name: Validate code snippets
run: |
python ./scripts/check_code_snippets.py .