Skip to content

update

update #105

Workflow file for this run

name: Quality Check
on:
push:
branches:
- main
pull_request:
paths:
- 'easyllm/**'
- 'tests/**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: "pip"
cache-dependency-path: pyproject.toml
- uses: actions/cache@v3
id: cache
with:
path: ${{ env.pythonLocation }}
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-check
- name: Install build dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: pip install ".[dev]"
- name: Run library checks
run: make check