feat: layers manipulations #172
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: codestyle | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
# Allows to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
codestyle: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout branch" | |
uses: actions/checkout@v4 | |
- name: "Set up Python on Ubuntu" | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: "Set up npm" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: "JS codestyle" | |
run: | | |
npm install prettier | |
npx prettier --check . | |
- name: "Python codestyle" | |
run: | | |
pip install ".[dev]" | |
pip install ruff | |
ruff format --check . | |
ruff check --no-fix . |