Skip to content

test gitub action

test gitub action #8

Workflow file for this run

name: 'Python requirements - get or set in cache'
on: push
description: 'Get pip cache from cache else generate it'

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

View workflow run for this annotation

GitHub Actions / Python requirements - get or set in cache

Invalid workflow file

The workflow is not valid. .github/workflows/test_install.yml (Line: 3, Col: 1): Unexpected value 'description' .github/workflows/test_install.yml (Line: 4, Col: 1): Unexpected value 'inputs'
inputs:
requirements:
description: 'Cache key to use'
required: true
default: requirements.txt
jobs:
test:
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