Limit the multiversion docs build to the newest minor versions #64
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
| # Copyright 2026 The PyAthena authors | |
| # | |
| # Licensed under the MIT License. | |
| # See LICENSE or https://opensource.org/licenses/MIT. | |
| # | |
| # SPDX-License-Identifier: MIT | |
| name: Scripts | |
| on: | |
| pull_request: | |
| paths: | |
| - 'scripts/**' | |
| - 'cloudformation/**' | |
| - 'justfile' | |
| - '.mise.toml' | |
| - 'pyproject.toml' | |
| - 'uv.lock' | |
| - '.github/workflows/**' | |
| permissions: | |
| contents: read | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| env: | |
| AWS_EC2_METADATA_DISABLED: 'true' | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0 | |
| with: | |
| python-version: '3.12' | |
| - uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 | |
| with: | |
| install_args: just shellcheck actionlint | |
| - run: just scripts |