Skip to content

Update snok/install-poetry action to v1.4 (#337) #791

Update snok/install-poetry action to v1.4 (#337)

Update snok/install-poetry action to v1.4 (#337) #791

Workflow file for this run

name: Main
on:
pull_request:
push:
branches:
- master
jobs:
main:
strategy:
fail-fast: true
matrix:
os: [ubuntu-22.04, macos-14]
python: ["3.11.9", "3.12.4"]
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
- name: Project checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Setup Python
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5
with:
python-version: ${{ matrix.python }}
- name: Install Poetry
uses: snok/install-poetry@972a0e78ffdebf9e98f6fe404b77831716cdd4aa # v1.4
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: make setup
- name: Check codestyle
run: make inspect
- name: Run tests
run: make test
- name: Build Package
run: make build