Skip to content

fix: cleanup orphan thumbnail files on folder deletion #17

fix: cleanup orphan thumbnail files on folder deletion

fix: cleanup orphan thumbnail files on folder deletion #17

Workflow file for this run

name: Lint Check
on:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
linting:
runs-on: ubuntu-latest
name: Linting
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Markdown lint
uses: DavidAnson/markdownlint-cli2-action@v23
with:
config: .github/.markdownlint-cli2.jsonc
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
- name: Install frontend dependencies
run: |
cd frontend
npm ci --ignore-scripts
- name: Install backend lint dependencies
run: |
cd backend
pip install -r requirements-lint.txt
- name: Run Linters
run: |
cd frontend
npm run lint:check
npm run format:check
cd ..
cd backend
pre-commit run --config ../.pre-commit-config.yaml --all-files || exit 1
cd ..
cd frontend/src-tauri
cargo fmt -- --check