Skip to content

Fix assets to work when hosted at subdirectory #77

Fix assets to work when hosted at subdirectory

Fix assets to work when hosted at subdirectory #77

Workflow file for this run

name: lint-vizro-all
defaults:
run:
working-directory: vizro-core # but could be any folder
on:
push:
branches: [main]
pull_request:
branches:
- "main"
concurrency:
group: lint-${{ github.head_ref }}
cancel-in-progress: true
env:
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"
jobs:
run:
name: Python ${{ matrix.python-version }} on Linux
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Hatch
run: pip install --upgrade hatch
- name: Lint
run: hatch run lint:lint