Skip to content

Save references of SymbL and L #300

Save references of SymbL and L

Save references of SymbL and L #300

Workflow file for this run

name: Lint
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out with submodules
uses: actions/checkout@v4
with:
submodules: true
- name: Truncate pyproject for hashing
run: |
sed -n '1,/#\{80\}/p' pyproject.toml > pyproject-hash.toml
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
cache: 'pip'
cache-dependency-path: pyproject-hash.toml
- name: Cache mypy_cache
uses: actions/cache@v4
with:
path: .mypy_cache
key: mypy_cache-${{ hashFiles('pyproject-hash.toml') }}
restore-keys: mypy_cache-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[lint]
bash ./benchmark/install_submodule.sh all
- name: Run linters
run: |
./scripts/lint.sh --verbose