[PRO-812] manual input #5
Workflow file for this run
This file contains 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: Pyright | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'docs/**' | |
- 'README.md' | |
- 'mkdocs.yml' | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- 'docs/**' | |
- 'README.md' | |
- 'mkdocs.yml' | |
# Not possible to test windows capability: | |
# https://github.com/orgs/community/discussions/25491 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Create keys.cfg | |
run: | | |
touch keys.cfg | |
- name: Install rye | |
run: | | |
curl -LsSf https://astral.sh/rye/install.sh | sh | |
- name: Install dependencies | |
run: | | |
rye sync | |
- name: Typecheck replayio code | |
run: | | |
rye run replayio-typecheck |