Do not allow using str
for uploads
#2
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: Check types | |
on: [pull_request] | |
env: | |
NODE_VERSION: '18' | |
PYTHON_VERSION: '3.9' | |
permissions: | |
contents: read | |
jobs: | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install python deps | |
run: pip install -e. 'ckan[requirements,dev]' | |
- name: Install node deps | |
run: npm ci | |
- name: Check types | |
run: npx pyright |