28 lines
602 B
YAML
28 lines
602 B
YAML
name: "Checks"
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
run-checks:
|
|
name: "Run checks"
|
|
runs-on: "ubuntu-latest"
|
|
steps:
|
|
- name: "Check out the code"
|
|
uses: "actions/checkout@v4"
|
|
- name: "Set up Python 3.10"
|
|
uses: "actions/setup-python@v5"
|
|
with:
|
|
python-version: "3.10"
|
|
- name: "Set up poetry"
|
|
uses: "Gr1N/setup-poetry@v8"
|
|
with:
|
|
poetry-version: "1.7.1"
|
|
- name: "Install deps"
|
|
run: |
|
|
set -x
|
|
poetry install
|
|
- name: "Run CI task"
|
|
run: |
|
|
set -x
|
|
poetry run inv ci
|