Skip to content

Update actions/checkout action to v4 #93

Update actions/checkout action to v4

Update actions/checkout action to v4 #93

Workflow file for this run

name: test_and_build
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10"]
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip poetry
poetry config virtualenvs.create false
poetry lock
poetry install
- name: Check codestyle
run: pre-commit run --all
- name: Run tests
run: bash run_tests.sh
- name: Build package
run: poetry build