Start rework

pull/443/head
Wyatt Stanke 9 months ago
parent a9419300fa
commit f5e7238885
No known key found for this signature in database
GPG Key ID: CE6BA5FFF135536D

@ -0,0 +1,23 @@
name: "Setup environment"
description: "Setup environment for the CI"
runs:
using: composite
steps:
- name: Install Python
uses: actions/setup-python@v4
- name: Install Poetry
uses: abatilo/actions-poetry@v2
- name: Setup a local virtual environment
run: |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
shell: bash
- uses: actions/cache@v3
name: Define a cache for the virtual environment based on the dependencies lock file
with:
path: ./.venv
key: venv-${{ hashFiles('poetry.lock') }}
- name: Install the project dependencies
run: poetry install
shell: bash

@ -1,7 +1,6 @@
name: Lint
on: [push, pull_request] # yamllint disable-line rule:truthy
on: [push, pull_request] # yamllint disable-line rule:truthy
jobs:
yaml-lint:
@ -24,4 +23,7 @@ jobs:
name: ruff Lint
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
- uses: ./.github/library/setup
- uses: ruff format .
- uses: ruff --fix .
- uses: autofix-ci/action@d3e591514b99d0fca6779455ff8338516663f7cc

2890
poetry.lock generated

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save