Skip to content

fix: every step must define a uses or run key #7

fix: every step must define a uses or run key

fix: every step must define a uses or run key #7

Workflow file for this run

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python
run: uv python install 3.11
- name: Set up Virtual Environment
run: uv venv
run: source .venv/bin/activate

Check failure on line 13 in .github/workflows/docs.yml

View workflow run for this annotation

GitHub Actions / Convert docstrings to Pdoc pages

Invalid workflow file

The workflow is not valid. .github/workflows/docs.yml (Line: 13, Col: 9): 'run' is already defined
- name: Load development dependencies
run: uv sync --dev
- name: Generate documentation
run: pdoc src/**/*.py --output docs/
- uses: actions/upload-pages-artifact@v3
with:
path: docs/
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4
name: Convert docstrings to Pdoc pages
on:
push:
branches:
- master
permissions:
contents: read