Skip to content

Bump the github-actions group with 2 updates #785

Bump the github-actions group with 2 updates

Bump the github-actions group with 2 updates #785

Workflow file for this run

name: Durable Task SDK (durabletask)
on:
push:
branches:
- "main"
tags:
- "v*" # Only run for tags starting with "v"
pull_request:
branches:
- "main"
permissions:
contents: read
jobs:
lint-and-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Python 3.14
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: 3.14
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install nox
- name: Run lint checks
run: nox -s lint
run-tests:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
needs: lint-and-unit-tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Set up Node.js (needed for Azurite)
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '22.x'
- name: Cache npm
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.npm
key: ${{ runner.os }}-npm-azurite
- name: Install Azurite
run: npm install -g azurite@latest
- name: Install Nox
run: |
python -m pip install --upgrade pip
pip install nox
- name: Pytest unit tests
run: nox -s core_tests-${{ matrix.python-version }}