✨ Check for correct action pinning #53
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |