Skip to content

test

test #44

Workflow file for this run

name: Test git-spell-check
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install aspell
run: |
sudo apt-get install -y aspell aspell-en
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run tests
run: pytest
- uses: compiler-research/git-spell-check@${{ github.event.pull_request.base.ref || github.head_ref || github.ref_name}}

Check failure on line 24 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Test git-spell-check

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 24, Col: 15): Unrecognized named-value: 'github'. Located at position 1 within expression: github.event.pull_request.base.ref || github.head_ref || github.ref_name .github/workflows/test.yml (Line: 28, Col: 13): Unrecognized function: 'failed'. Located at position 1 within expression: failed()
with:
debug: 1
- name: Dump GitHub context
if: ${{ failed() }}
run: echo "${{ toJSON(github) }}"
- name: Setup tmate session
if: ${{ !cancelled() && runner.debug }}
uses: mxschmitt/action-tmate@v3
# When debugging increase to a suitable value!
timeout-minutes: 30