Skip to content

WIP: Use reusable workflow with pre-commit #6

WIP: Use reusable workflow with pre-commit

WIP: Use reusable workflow with pre-commit #6

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
common-ci:
name: Common CI
uses: tuomas777/.github/.github/workflows/ci-django-api.yml@reusable_workflow_precommit

Check failure on line 9 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. In .github/workflows/ci.yml (Line: 9, Col: 11): Error from called workflow tuomas777/.github/.github/workflows/ci-django-api.yml@reusable_workflow_precommit (Line: 85, Col: 13): Unexpected symbol: '"postgis"'. Located at position 25 within expression: inputs.database-type == "postgis" In .github/workflows/ci.yml (Line: 9, Col: 11): Error from called workflow tuomas777/.github/.github/workflows/ci-django-api.yml@reusable_workflow_precommit (Line: 99, Col: 16): Unexpected symbol: '"**/requirements'. Located at position 11 within expression: hashFiles("**/requirements.txt")
secrets: inherit
with:
python-version: 3.9
database-type: postgis