Skip to content

add more actions and limit when those are run #39

add more actions and limit when those are run

add more actions and limit when those are run #39

Workflow file for this run

name: Quality Check
on:
push:
branches:
- main
paths:
- 'easyllm/**'
- 'tests/**'
pull_request:
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