Skip to content

test gitub action

test gitub action #6

Workflow file for this run

name: 'Python requirements - get or set in cache'

Check failure on line 1 in .github/workflows/test_install.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test_install.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: install
on: push
description: 'Get pip cache from cache else generate it'
inputs:
requirements:
description: 'Cache key to use'
required: true
default: requirements.txt
jobs:
install:
runs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
cache: 'pip'
python-version: '3.12'
cache-dependency-path: |
requirements.txt
- run: |
pip install -r ${{ inputs.requirements }}
shell: bash