Skip to content

Bump GitHub Actions to v5 (Node.js 24) in release workflow #10

Bump GitHub Actions to v5 (Node.js 24) in release workflow

Bump GitHub Actions to v5 (Node.js 24) in release workflow #10

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
name: build-and-test (${{ matrix.os }}, py${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: 'pip'
- name: Install zstd (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libzstd-dev
- name: Install zstd (macOS)
if: runner.os == 'macOS'
run: brew install zstd
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install tintype
run: pip install -v .
- name: Install test dependencies
run: pip install pytest
- name: Run tests
run: pytest tests/ -v