Repository navigation
Improve the Python basic authentication guide #53
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: Validate Python Guides | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - python | |
| - python-guide-support | |
| paths: | |
| - '.github/workflows/python-guides.yml' | |
| - 'buildSrc/**' | |
| - 'guides/**' | |
| - 'settings.gradle' | |
| - 'src/docs/common/**' | |
| pull_request: | |
| branches: | |
| - master | |
| - python | |
| - python-guide-support | |
| paths: | |
| - '.github/workflows/python-guides.yml' | |
| - 'buildSrc/**' | |
| - 'guides/**' | |
| - 'settings.gradle' | |
| - 'src/docs/common/**' | |
| jobs: | |
| validate: | |
| name: Generate Python Guides | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-java@v5.2.0 | |
| with: | |
| distribution: adopt | |
| java-version: '25' | |
| - uses: actions/cache@v5.0.5 | |
| with: | |
| path: ~/.gradle/caches | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gradle- | |
| - name: Validate build infrastructure | |
| run: ./gradlew buildSrc:test --stacktrace | |
| - name: Generate Python guides | |
| run: ./gradlew generateAllPythonGuideTestScripts --stacktrace |