mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-27 06:39:25 +01:00
9f62c0173d
* CI: Update actions/checkout to v4 * CI: Update actions/setup-python to v5 * CI: Update actions/upload-artifact to v4
36 lines
930 B
YAML
36 lines
930 B
YAML
name: Python check requirements.txt
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- '.github/workflows/python-check-requirements.yml'
|
|
- 'scripts/check-requirements.sh'
|
|
- 'convert*.py'
|
|
- 'requirements.txt'
|
|
- 'requirements/*.txt'
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/python-check-requirements.yml'
|
|
- 'scripts/check-requirements.sh'
|
|
- 'convert*.py'
|
|
- 'requirements.txt'
|
|
- 'requirements/*.txt'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
python-check-requirements:
|
|
runs-on: ubuntu-latest
|
|
name: check-requirements
|
|
steps:
|
|
- name: Check out source repository
|
|
uses: actions/checkout@v4
|
|
- name: Set up Python environment
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
- name: Run check-requirements.sh script
|
|
run: bash scripts/check-requirements.sh
|