Skip to content

test github actions

test github actions #1

name: lint-and-typecheck
on: [pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
defaults:
run:
working_directory: test

Check failure on line 8 in .github/workflows/lint_and_typecheck.yaml

View workflow run for this annotation

GitHub Actions / lint-and-typecheck

Invalid workflow file

The workflow is not valid. .github/workflows/lint_and_typecheck.yaml (Line: 8, Col: 9): Unexpected value 'working_directory' .github/workflows/lint_and_typecheck.yaml (Line: 16, Col: 9): Unexpected value 'working_directory'
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v1
pyright:
runs-on: ubuntu-latest
defaults:
run:
working_directory: test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
cache: "pip"
- run: |
python -m venv .venv
source .venv/bin/activate
pip install -r dev-requirements.txt
- run: echo "$PWD/.venv/bin" >> $GITHUB_PATH
- uses: jakebailey/pyright-action@v1