Skip to content

Pin GitHub Actions to full-length commit SHAs #379

Pin GitHub Actions to full-length commit SHAs

Pin GitHub Actions to full-length commit SHAs #379

Workflow file for this run

name: Type Check (pyright)
on:
push:
branches:
- "main"
tags:
- "v*"
- "azuremanaged-v*"
- "azurefunctions-v*"
pull_request:
branches:
- "main"
permissions:
contents: read
jobs:
pyright:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: Set up Python 3.10 (lowest supported)
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.10"
- name: Install packages and dependencies
run: |
python -m pip install --upgrade pip
pip install nox
- name: Run pyright (strict, Python 3.10)
run: nox -s typecheck_core
pyright-azurefunctions:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: Set up Python 3.13 (lowest supported by azure-functions-durable)
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.13"
- name: Install packages and dependencies
run: |
python -m pip install --upgrade pip
pip install nox
- name: Run pyright (strict, Python 3.13)
run: nox -s typecheck_functions
- name: Check packaged types (strict, Python 3.13)
run: nox -s typecheck_functions_package