Skip to content

Bump actions/setup-python from 5.3.0 to 5.4.0 (#118) #258

Bump actions/setup-python from 5.3.0 to 5.4.0 (#118)

Bump actions/setup-python from 5.3.0 to 5.4.0 (#118) #258

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4.2.2
with:
fetch-depth: 2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.4.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e . -r requirements-test.txt
- name: Flake8
run: flake8 pyprusalink
- name: Black
run: black --check pyprusalink
- name: isort
run: isort --check pyprusalink