Skip to content

✨ Check for correct action pinning #53

✨ Check for correct action pinning

✨ Check for correct action pinning #53

name: Test Malformed YAML Action
on:
- pull_request
defaults:
run:
working-directory: ./malformed-yaml
jobs:
test:
name: Test Malformed YAML Action
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install --no-cache-dir -r requirements.txt
pip install --no-cache-dir -r requirements-dev.txt
- name: Run tests with pytest
run: |
pytest -vv test/