Skip to content

Bump actions/setup-python from 4 to 5 #283

Bump actions/setup-python from 4 to 5

Bump actions/setup-python from 4 to 5 #283

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
test:
strategy:
matrix:
include:
- name: Tests
command: bin/tests
- name: Lint
command: bin/lint
runs-on: ubuntu-latest
name: ${{ matrix.name }}
steps:
- name: Check out repository
uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: |
requirements.txt
requirements/*.txt
- name: Install Python dependencies
run: |
pip install -U pip setuptools wheel
pip install -r requirements.txt --no-deps
- name: Run ${{ matrix.name }}
run: ${{ matrix.command }}