Skip to content

Add UI

Add UI #29

Workflow file for this run

name: lint
on:
pull_request:
jobs:
optional-dependencies:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup environment
uses: ./.github/actions/setup-env
with:
optional-dependencies: "false"
- name: Test optional dependencies
run: |
python scripts/update_optional_dependencies.py
git diff --exit-code
pre-commit:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup environment
uses: ./.github/actions/setup-env
with:
optional-dependencies: "false"
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ hashFiles('.pre-commit-config.yaml') }}
restore-keys: |
pre-commit
- name: Setup lint utilities
run: pre-commit install-hooks
- name: Run pre-commit
run: pre-commit run --all-files --show-diff-on-failure --color=always