Skip to content

Merge remote-tracking branch 'upstream/master' #1

Merge remote-tracking branch 'upstream/master'

Merge remote-tracking branch 'upstream/master' #1

name: ci-type-verification
on:
# Triggers the workflow when new code is pushed to the master branch.
push:
branches: [ master ]
# Enables running this workflow manually from the Actions tab.
workflow_dispatch:
jobs:
build:
name: "Type verification"
runs-on: ubuntu-latest
steps:
- name: Cancel previous
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
if: ${{github.ref != 'refs/head/master'}}
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install EE API
run: |
pip install -e ./python
pip install pyright
- name: ee type verification
run: |
pyright --verifytypes ee
- name: ee.cli type verification
run: |
pyright --verifytypes ee.cli